I would like to create a Java EE application with fully separated FrontEndand BackEnd. I found several tutorials in which these two modules were packaged into a single EAR file. I could create this, and I could deploy my application to the application server.
For security reasons, now I need to deploy FrontEnd (Tomcat) and BackEnd (Weblogic).
What I have:
Front:
Back
- Sessions with business logic (EJB)
- The essence of classes.
The communication interface between the two layers will be RMIcalls.
The first solution, when I had one EAR project with these two modules, worked because my pom.xml package of the backEnd module was jar:
<packaging>jar</packaging>
, jar frontEnd, frontEnd .
backEnd, jar , . , backEnd ear pom.xml , ear build from backEnd, frontEnd, backEnd.
, . - , . , ear jar maven?
!