Hi All,
Till now I have deployed my application in a single server so I have the following queries.
Question 1
I want my application to be deployed in following format.
1. The web related files (
JSP and other bean class) are deployed in my Web container (say
tomcat) 2. The ejbs are deployed in my app server (Say
jboss)
Now how do I look up for an
ejb in my
java class (class "Lookup") deployed in tomcat (nothing but the webcontainer servlet/bean) ? Is it enough if I just use the provider URL provided by JBoss in my "Lookup" class ?
Question 2
If I have ejb1 deployed on my appserver1 and ejb2 on my appserver2, both are on different physical systems. I want to call ejb2 in my ejb1 how do I do that ?