Java Enterprise Edition (JavaEE) is a platform for enterprise computing for Java.

learn more… | top users | synonyms

2
votes
3answers
187 views

Using regular Java classes in Java web apps

I'm work on a simple blogging web application using Java and MySQL as the database backend. I'm implementing the whole application using plain HTML and servlets. I'm using a Java class with static ...
2
votes
1answer
4k views

High-Load Java Server for Multiplayer

I am making a multiplayer game. Now I am trying to choose the technology to connect the android devices to the server. The clients run on Android, and the game is MMORPG. I would like to write the ...
2
votes
1answer
808 views

JUnitEE vs JUnit

I know what unit testing is in general and what JUnit is in particular. But here I see that there is a project called JUnitEE which seems to me to be a wrapper over JUnit. So I would like to better ...
2
votes
4answers
400 views

Should OO design, or database design, drive the coding of my @Entity classes?

I have two classes that I want related to each other in an JEE application using JPA2. In an OO world, I would say that a Chatroom has an attribute List messages. In the relational world composition ...
2
votes
1answer
897 views

What version control system is typically used in Java Enterprise development?

There are many vcs available. Which of them are typically used in JavaEE world?
2
votes
2answers
347 views

When designing data models for JPA, what's the best way to make use of polymorphism?

I've been asked to support a Java EE application. The data model was poorly-designed and will not support several necessary use cases; so I'm developing a new data model using EclipseLink (the old one ...
2
votes
1answer
253 views

How to get started in coding for JBoss [closed]

I have an idea on how to revamp our internal application, after having accessed the needs of the users, addressing thier current issues, and the like. But I am not a coder. My last application I ...
2
votes
1answer
52 views

Use of validators for simple validations

I've been working in Liferay code, and I've come across this construct a few times: List<?> list; ... if (Validator.isNotNull(list)) { //do stuff }} The source code for Validator.java ...
2
votes
1answer
137 views

Java App as Tomcat Service?

I currently have a basic j2ee website. Currently, a jsp frontend gets data from the backend (the java program, lets call it object "Score"). The backend gets this data from a web site. <% Main m ...
2
votes
2answers
384 views

J2EE - Session swap

Application server - JBoss AS 7.1.1 JDK6 J2EE 1.3 My web application is more than 10 years old and facing this session swap problem in my portal. Noticed that swap happens mostly when many ...
2
votes
1answer
366 views

How to package static content outside of web application?

Our web application has static content packaged as part of WAR. We have been planning to move it out of the project and host it directly on Apache to achieve the following objectives. It's getting ...
2
votes
1answer
173 views

Debugging xml and annotations

By now, most web containers have an annotation variant of their xml configurations for Java EE. I'm guessing this is because it's better to keep things in Java where they can be managed, coded with ...
2
votes
1answer
84 views

Collaboratively working with a WebDesigner - Best practices

I'm a programmer. I have always worked by myself. I usually do only back-end, but now I have a webproject that I want to hand the "View" part to a designer to make it beautiful. What I'm looking for ...
1
vote
3answers
8k views

Relationship DAO, Servlet, JSP and POJO

I want to implement a JSP, POJO, DAO and Servlet in my J2EE program. However, I don't fully understand how the relationship between these elements should be. Is the following (MVC) setup the right way ...
1
vote
3answers
164 views

Why is a architecture with anemic models the JavaEE standard?

I took a JavaEE course today and I was presented to the "default" JavaEE architecture, which consists mainly of Entities, Services and DTOs. The guy presenting the course explained that it was indeed ...
1
vote
1answer
194 views

The Nature of Spring [duplicate]

Is it accurate to say that dependency injection manually using java (without spring) is nothing but implementing the strategy pattern (as per this example)? Furthermore, is it correct to say that ...
1
vote
1answer
349 views

How do remote interfaces work with JavaEE and glassfish?

I would like to know what is going on "under the hood" if I use remote interfaces in JavaEE. In the project I use a stateless enterprise bean that implements a remote interface. And I can call methods ...
1
vote
4answers
9k views

How to gain Professional Experience in Java/Java EE Development [closed]

I have been seeing opportunities go past me for just 1 reason: not having professional industry experience. I say to many employers that I'm capable of doing the job and show them the work I've done ...
1
vote
3answers
3k views

Advantages of Scala vs. Groovy with JAVA EE 6 Applications

Please let me first emphasize that I am not looking for flame wars. I just want advice from people who have real experiences. I started learning JAVA EE 6 as real newbie and am having a difficult ...
1
vote
1answer
95 views

How can I find what Resources a Java EE container provides?

How can I find what "Resources" a Java EE container provides? Can I discover this programmatically, or is there documentation I should refer to? (Note that the Java EE tutorial is vague on this ...
1
vote
1answer
9k views

Why use JSP instead of servlets? [closed]

(Rewritten for reopening:) What are relative advantages of Servlets over JSP, or vice versa? Might JSP be preferred because it is easy to put code inside JSP, or Servlets because with them code can ...
1
vote
1answer
634 views

What factors should I consider when logging a (JSF) web-app?

I've recently read the article The Problem with logging and was wondering about my current logging strategy. Usualy I use Log4J in my projects and just have to decide which line/attributes I would ...
1
vote
1answer
2k views

What is the best way to manage Hibernate sessions in a Struts-1 application?

I am now the owner of a Struts-1 application, and the Hibernate session management is all over the place. I have searched online documentation but have not found a clear explanation of the best way ...
1
vote
1answer
179 views

How to avoid model duplication in JavaEE web applications with a JSON front end

Recently we developed a web app that uses the following tech stack: hibernate as orm spring extjs (MVC javascript front end) For 1 business object, let it be a Personnel, we have: 1) a Personnel ...
1
vote
1answer
119 views

Implementing an interface from a framework vs simple java interface

This concept is unclear with me. I have worked on several frameworks for an instance Spring. To implement a feature we always implement some interfaces provided by the framework. For an instance if ...
1
vote
1answer
481 views

Applying DDD principles in a RESTish web service

I am developing an RESTish web service. I think I got the idea of the difference between aggregation and composition. Aggregation does not enforce lifecycle/scope on the objects it references. ...
1
vote
1answer
86 views

Understanding the meaning of “multiple lifecycles application development”?

Some Agile job posts have a requirement "strong understanding of multiple lifecycles application development", what does it means ? So my question would be: what's that field for, and what would I ...
1
vote
1answer
505 views

What should be stored in UserContext?

From my general understanding I believe UserContext for a web application is supposed to hold user authentication and authorization (user roles) information. As part of user roles, there are ...
1
vote
1answer
799 views

Best way of Javascript web development in Netbeans (Hot deployment)

I'm beginning Javascript development and as a beginner in JavaScript I make a lot of mistakes. The way I'm developing is very counter-productive because every mistake I fix I have to shutdown ...
1
vote
2answers
617 views

Company wants to move its programs to a new framework / concept - what are options?

So there is an insurance company which wants to move long term its proprietorially written software for different insurance products to a new platform / framework / concept / something. One of the ...
1
vote
0answers
51 views

How is ORB distinct from an endpoint?

What, fundamentally, am I misunderstanding about how to use appclient? The Application Client Container (ACC) includes a set of Java classes, libraries, and other files that are required for ...
1
vote
0answers
98 views

Best practices for programmatic describing of behavior of complex input forms

We have a complex web form (we use GWT/GXT stack) with lots of input elements of different types (text fields, selects, checkboxes, buttons), and behavior of these elements depends on each other. Now ...
1
vote
1answer
517 views

Transition from enterprise-level PHP with Zend Framework to more enterprisey Java EE

I've been seriously considering my career progress and would like to know your opinion on the following: 5 years full-time employment as a software developer / web technologies / best practices MSc ...
0
votes
2answers
1k views

Do Java, J2EE and Java Web get better with time? It still looks problematic to me after months [closed]

I'm a little new to Java Web Development. JSF, JSP, Servlets, Hibernate etc... I have really a good understanding of OOP and C++. I have years of PHP and MySQL web development experience. I also have ...
0
votes
3answers
414 views

Updating Java SE and Java EE knowledge [closed]

I wonder how you guys are updating your tech knowledge on a daily basis. Definitely it will be from internet. But what are those sources? E.g. I didn't know about the DWR technology but knew if from ...
0
votes
2answers
171 views

Where can I find a quick overview of Enterprise Java Beans?

I'm a fresh graduate, and I'm about to interview in two days and things are tight. I am well versed with Java EE Servlet and JSP technology, but never really used EJBs. Is learning about EJBs really ...
0
votes
3answers
351 views

Why do APIs generally consist of interfaces? [duplicate]

I am starting out in Java API design and in reading existing code bases, I have found that most APIs consist of interfaces only with their implementations bundled in a different package. Having read ...
0
votes
2answers
1k views

1 Interface 2 Implementations and an EJB exception

In my JavaEE project I have an interface like this: @Local public interface DataAccess { ... } And two stateless beans implementing it: @Stateless public class DataAccess_Online implements ...
0
votes
2answers
1k views

Migrating web app from php to Java [closed]

Hi I had today my first interview for a position of android developer.In my portfolio I had a php e-commerce application that has a catalog , ajax powered shopping cart , and administrator ...
0
votes
4answers
781 views

Why isn't Java being used for web multimedia applications? [closed]

I've been focusing on multimedia applications and I've noticed that most applications don't use Java in the back end. Instead, I see solutions with PHP/ROR/Python and Flash/Silverlight without any ...
0
votes
2answers
930 views

JEE frameworks, a road map to learn? and should I learn them?

Background Information I have been into programming since past 1 years professionally, my day to day work includes writing BIRT reports, designing and validating forms using JEE (struts/spring, ...
0
votes
2answers
100 views

How to gradually improve on an old IBM Host C++ framework

Imagine a C++ framework as a business layer, but with controlling logic as well. E.g. user rights, state of the webflow etc. With some plain C code to access DB2. The whole framework is host based. We ...
0
votes
2answers
831 views

Getting into JEE

I'm the author of this question from a couple of months ago: Java but no JEE experience I thought about just editing this question, because this a bit of a followup to it - but it's actually a ...
0
votes
1answer
130 views

Best way to make synchronous calls between JEE apps [closed]

I have two jee web apps that are going to be published on the same physical server, but on different network addresses. APP A: Listens to a port on a public IP address and makes synchronous ...
0
votes
3answers
213 views

SOA, Java EE and data organization

At the company I work for, we're currently splitting up our monolith solution into a number of small services (SOA). The purpose of this is to make the developers working on each chunk of code ...
0
votes
1answer
595 views

Creating a separate project for JPA entities

Where I work it is a common practice to create a separate for JPA entities and a project for the web application (the WAR). So basically you have (at least) two project for each application - appJPA ...
0
votes
1answer
164 views

Controller JSP - no view

Most people say do not use JSPs. But what if I have a JSP that does not show anything, it only acts as a controller? Why would I do that? Because we do not need to redeploy complete webapp to make a ...
0
votes
6answers
856 views

Looking to build a 2 java applications. should it be web-based application or standalone application?

The first application (web-based) will be located at site1 and once the information is processed, it will be sent to the second application(web-based) located at site2. Application2 needs to be able ...
0
votes
1answer
462 views

What are some good JAIN SLEE related books?

Could you recommend some good reading materials related to JAIN SLEE? Or Java in Telecommunications in general.
0
votes
0answers
45 views

Microservices - remove unnecessary boilerplate?

My thoughts: microservices are becoming popular for distributed architecture java is (for now) a main course in enterprise applications JEE stack too How to reduce a boilerplate (including Maven ...