• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Deployment of WebApp and EjbApp on different servers

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello out there,
I am planing to deploy my Facelet WebApplication to WebContainer A in physical WebServer A, and my EJB-Application in an EjbContainer on a different physical server B to put a firewall between both servers.
Thus my Facelet-ManagedBeans have to communicate to the ejbs via the local network using the ejb-remote interfaces. I will deploy an *.ear file incl. all ejbs to the ejb-Container to run the EjbApplication, BUT

Question: Is it enough to deploy a *.war archive incl. all transfer objects and the ejb-remote interfaces to the WebContainer, or do I need to deploy another *.ear archive to the WebContainer (containing the *.war archive incl. all transfer objects and the ejb-remote interfaces) to run the WebApplication?


Thanks for any support ;-)
 
Charles Ohene
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please any help, need to submit my assignment in 2 days, thank you in advance ;-)
 
author & internet detective
Posts: 41967
911
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ear files get deployed to app servers, not web containers.
 
Ranch Hand
Posts: 40
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can deploy the web related stuff on WebContainer and EJB related stuff in EJBContainer...You can have transfer objects & utils at both places like in .war & .jar in ear...
 
Yogesh Tyagi
Ranch Hand
Posts: 40
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can deploy the web related stuff on WebContainer and EJB related stuff in EJBContainer...You can have transfer objects & utils at both places like in .war & .jar in ear...
 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Need stub classes for remote EJB invocations.
Just generated stub classes needs to be packaged in war.
 
Charles Ohene
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey guys, thanks a lot for your help :-)
 
This looks like a job for .... legal tender! It says so right in this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic