Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Architecture Q

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No comments for this ?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic