File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes How to obtain contents from other project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to obtain contents from other project" Watch "How to obtain contents from other project" New topic
Author

How to obtain contents from other project

shekar march chandra
Greenhorn

Joined: Jul 07, 2005
Posts: 25
Hi,

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
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://aspose.com/file-tools
 
subject: How to obtain contents from other project