Questions tagged [java-ee]

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

13 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
1k views

Understanding the data flow in Spring REST layered architecture

I am new to Spring as well as layered architecture. So am a bit confused as how data flows among the different layers. What so far I have understood is: Layers: Controller (which accepts requests) ...
3
votes
0answers
100 views

Are Remote EJBs the right way to go?

I am planning to remodel my current application and I am not sure if this is the right approach. Currently I have a Java Enterprise server application with 3 web-applications and an ejb-application ...
3
votes
0answers
183 views

Embedded tomcat cold deployment without service disruption

I have the following scenario. For various reasons I chose to use embedded tomcat for my rest backend that will form a cluster of AWS machines. I will want to deploy fairly frequently updates ...
1
vote
0answers
56 views

Is it okay to have an asymmetric relationship between entities in a JavaEE data model?

I'm having difficulties assessing a design decision regarding entity relations in a JavaEE persistence data model. Let's say I want to design a simple data model that's supposed to represent a ...
1
vote
0answers
214 views

Caluclate needed heap size needed for serialization

In my current Java EE project I've got a quite common task: Load objects from database using Hibernate, transfer them in another object structure (based on a XSD) and serialize it using JAXB. To ...
1
vote
0answers
111 views

Classiest file system locations for my Linux app to write its files?

I have an application I am writing on Linux. It is a Java webapp intended to be run on Tomcat. When it initializes, my application will copy some standalone java utility programs to the host ...
1
vote
0answers
50 views

One service facade per view

I am currently trying to design a Java EE web application. The views are quite complex, i.e. several dynamic drop down menus. The content of those drop downs may depend on the internal state of the ...
1
vote
0answers
322 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 ...
1
vote
0answers
268 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 and ...
0
votes
0answers
18 views

Updating an entity and many relationships: database vs application layer

We are working on a transformation project It has records in table entityA and entityB, which has a relation entityAB. We need to delete records in table entityA and recreate them with some other ...
0
votes
0answers
125 views

Why was the Java EE specification created?

I am trying to understand the goals of Java EE specification. I suppose Sun could just build a software package offering all those functionalities? Kind of like Spring. Instead they thought it was ...
0
votes
1answer
242 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 ...
-4
votes
0answers
19 views

How to secure a multi-war project where each war needs access to the Principal object

I have a multi war project (or multi module) where I deploy the wars in the same Java App Server. Let's say my project is called caffe and I have 3 wars, A, B and C. Each war is deployed in the ...