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
posted 10 years ago
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.