File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes ServiceLocator 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 "ServiceLocator" Watch "ServiceLocator" New topic


Bish Ach

Joined: Oct 06, 2003
Posts: 26
Hi All
where should I put my ServiceLocator class in the J2EE deployment Structure? I mean in the EAR module...I have an application Where in I found the "same" class both in the classes directory of the JAR as well as in WAR module. Could u plz make me clear about the same and if possible put some light regarding the workflow?
The application uses the following patterns:
Business Delegate
Data Transfer Object(DTO)
and uses Struts Framework in the web tier.
Thanx in Advance.
tina kinger

Joined: Nov 23, 2003
Posts: 8
I hope that It's enough if it is placed in the class directory of the war.It is not required to be placed in the ejbjar.

[ November 25, 2003: Message edited by: tina kinger ]
[ November 25, 2003: Message edited by: tina kinger ]
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

You can place it outside the war and ejb jar file

I agree. Here's the link:
subject: ServiceLocator
jQuery in Action, 3rd edition