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

learn more… | top users | synonyms

0
votes
1answer
671 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
186 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
907 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
471 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
1answer
43 views

Is Glassfish Or TomEE better than plain Java Web Container? [on hold]

I am trying to migrate my plain Apache Tomcat 7.0 Server to Glassfish or TomEE, but I'm hesitating to decide because I'm afraid it can cause a performance impact. In plain Apache Tomcat I can ...
0
votes
1answer
60 views

DTO and JPA Version

I have DB tables representing Employees and Departments. The server side(JavaEE) contains JPA entities representing the same. The client is a standalone client and communicates with the server using ...
0
votes
0answers
22 views

WebService NameSpace doubt

I am creating a java webservice. For that I am using @WebService annotation and @WebMethod for defining endpoint and service respectively. In both place I have option to provide targetNameSpace. Can ...
0
votes
0answers
66 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 ...
0
votes
0answers
48 views

handling external events in a cluster environment

I have an app written with JSF and Spring using JPA+Hibernate which is running on a Glassfish4 server. Right now I have an Observer pattern which is listening for some Postgresql events. Let`s say ...
0
votes
0answers
64 views

what is the relationship between CORBA, JMS and MDB?

In the context of my previous fuzzy question on microservices, please help me break down the terminology involved in these technologies: CORBA JMS MDB Utilizing JNDI, I believe it's possible to do ...
0
votes
1answer
123 views

Do JAX WS implementation classes come as part of the Java 5/6 package or only as part of an application server libraries?

Do JAX WS implementation classes come as part of the Java5 package, as part of the Java6 package or only as part of an application server libraries like WAS? I read that it comes as part of Java EE? ...
0
votes
1answer
221 views

EJB Lifecycle and Relation to WARs

I've been reading up on EJBs (3.x) and believe I understand the basics. This question is a "call for confirmation" that I have interpreted the Java EE docs correctly and that I understand these ...
0
votes
1answer
129 views

How should a JEE application store credentials for logging in to an external system?

I am in a situation where I have a Web Application (WAR) that is accessing a REST service provided by another application. The REST service uses Basic HTTP Authentication. So that means the ...
-1
votes
0answers
31 views

Queries regarding getting a job as a software developer [closed]

I'm Computer Science Fresher and is looking for a good job in software devlopment. I know topics like Core Java, C++, data structures, SQL etc. I have following queries - 1) Should I learn ...
-2
votes
2answers
609 views

How can I test database access methods in Java? [closed]

I want to write a test for a method that accesses a database such as following. public class MyClass{ public String getAddress(Int id){ String query = "Select * from Address where ...
-3
votes
3answers
151 views

What programming languages are most suitable for implementing design patterns? [closed]

What programming language is best for implementing design patterns, (Factory , etc) especially for example if I need to develop a engineer scheduling system in less than a month. Would Java be my ...
-5
votes
4answers
316 views

Why creativity is consider a bad practice by architects? [closed]

If you do something creative (for example I did a new approach to logging) is consider a bad practice. the good practice in Java is to put static field logger in every class. My approach creates ...