Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Separating Deployment for Home/Component Interfaces and Bean Class

 
Stanley Walker
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone,

I was just wondering if it is possible to separate home/component interfaces for EJB.

Up until now, when ever I was writing an EJB i was always maintaining my bean class, home and component interface in the same project. I used to build it and deploy it as a jar file along with the deployment descriptors.
Since my client only requires references to home and component interfaces, I was just wondering if i can separate the two.
eg:
Bean class ABC in project com.org.bean.impl
and interfaces ABCEJBObject and ABCEJBHome in project com.org.bean.interface

In which case, i may only deploy com.org.bean.interface in the client environment.

question: in the case the above is possible, how do i deploy the two projects in my server?

Any help would be appreciated

thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic