Hi All,
I'm using Eclipse Europa(3.3) configured to Weblogic 9.1 server.
I was attempting to create a simple
J2EE Enterprise Application, where in a web application would send a name and a Stateless session bean needs to return a greeting msg. Using eclipse, however I was able to create my Bean class, Remote and Home interfaces and also written ejb-jar.xml.
Now my question is how to generate client side stubs. While creating the bean, I was asked whether I needed any client jar file containing stubs and other needed files and I said yes, but I thought that container would generate that jar file for me so that I can include that in the classpath while coding the
servlet. But this is not happening.
My first question is 1) How to generate client side stubs using weblogic 9.1 and as per the documentation
java weblogic.appc would generate them for me.But It didn't happen actually.
2) My second question is how is weblogic-ejb-jar.xml is generated. Is it generated during deployment or should be generated before deployment. If so how do I get this file. Because I need to set my JNDI mappings also here.
To be frank, I have been struggling for a month now to set up my J2EE environment but have miserably failed .
Please some one on the network help me in fixing this.