Hi,

I am just starting to mess with EJB and I actually think it wont be as hard
as I originally thought. I read the CMP Primer and Orion Primer and I think
those two articles are decent, although it would have been more meaningful
if they used packages and what not..the source problably does. Anyways, I am
wondering..is there any way I can create EJBs, deploy them, without having
to package up the META-INF dir, the 3 classes (per ejb), and put them in a
.jar file, then set up all that stuff (the xmls)? IT seems as I develop,
every time I make a change I will have to repackage it to deploy it..that
will without a doubt be a lot longer development cycle than I had
anticipated. Is there any way to just point to the same WEB-INF/classes
folder that I compile all my code to?  I have a package structure like:

com
com/company
com/company/ejb
com/company/ui
com/company/ui/beans
com/company/ui/servlets
com/company/ui/tags
com/company/core

When I compile, the whole project is compiled to /www/WEB-INF/classes. I see
in the application.xml the <module>ejb.jar</module> tag.. I have a
<module>/web-path/</module> for my web module. So can I specify a dir (using
c:\\ or something) to the WEB-INF\classes dir that points to com/company/ejb
package name so that it will find my ejbs, deploy them, etc?

Before I forget..I am using Orion 1.3.7, and I only have one server running.
So my entire application, including the servlets/jsp/beans are in the same
server as the ejb will be in (once I can get them deployed). Will that be a
problem as far as how the servlets look up the ejbs, get the home, and call
on the objects if its in the same server, and when I move it to a different
server (2nd tier..network access, etc)? I would think not, but I just want
to make sure.

Basically..I am a newbie to ejb and especially with Orion, so any pointers
on how to develop ejb effeciently with Orion would be a big plus.

Thanks.

Reply via email to