I have developed ejbs and created a jar file for it.
I am developing servlets(which performs a lookup for ejbs),the problem is i am not able to import other project contents(i,e ejb project contents)
say I have an Ejb project by name Ej.All the beans will be in Ej.
Now, I have an Tomcat project by name Bj,I have to import all the contents of Ej project.How to do it ???
I tried to import but not working
Thanks, Chandra
Valentin Tanase
Ranch Hand
Joined: Feb 17, 2005
Posts: 704
posted
0
Hi Chandra,
I believe it all depends whether you�re using an IDE or a building tool like ant. However the choice the idea is always the same: you don�t need to import the whole ejb project, but only the home/remote interfaces (and their local siblings if your client is local) and all the common classes (like DTOs for example). Usually you pack all these files in one or more separate ejb-client.jar and common.jar libraries and make these available to your web project. Regards.
I think, therefore I exist -- Rene Descartes
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: How to obtain contents from other project