• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Architecture Q

 
Goan Balchao
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Scenario: Web Server (Machine A) in DMZ [Port 80 : HTTP open] , Application Server (Machine B) in internal network [Port 1099 - RMI open]

Question: As per my understanding a J2EE container resides in a Server. A Container cannot encompass multiple servers. A server however can encompass multiple containers.

Let's say i don't want to collocate the Web tier and EJB tier on the same machine (Machine B), but want to distribute my Web tier on machine A and EJB tier on machine B.

This would be analogous to J2EE containers [A and B - assuming 1 container on each machine] talking to each other wouldn't it ? So my Web Server can be let's say iPlanet Web Server with a Web Container talking to my App Server which can be JBoss. So the container-container configuration [trust setup] can be configured.. the transaction and security credential propogation between the web container on machine A and EJB container on machine B would be seamless and transperent as per the J2EE spec. Am I correct ?

Thanks
 
Goan Balchao
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As per the EJB spec - 2.0 "Support for distribution and interoperability"

Interoperability Goals
----------------------
To allow clients in one application deployed in J2EE containers from one server provider to
access servicesfrom session andentity beans inanother application thatis deployed inan EJB
container from a different server provider. For example, web components (JavaServer Pages
and Servlets) that are deployed on a J2EE-compliant web server provided by one server pro-
vider must be able to invoke the business methods of enterprise beans that are deployed on a
J2EE-compliant EJB server from another server provider.
 
Goan Balchao
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No comments for this ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic