File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

implements

 
Suri Babs
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Understand following and let me know if any answer for this. Consider the following bean as Stateless Session bean.
// Bean home interface
public interface TestHome extends EJBHome {
// create method
}
// Bean Remote interface
public interface Test extends EJBObject {
// Declare bussiness methods
}
// Now bean class
public class TestBean implements SessionBean{
// callback methods
// and business methods
}
As you can see that bean class implementing SessionBean, but my question is according rules of java, the "TestBean" also implement the "Test" remote interface like below
public class TestBean implements SessionBean, Test {
// callback methods
// business methods
}
since it implements all the business logic methods declared in the "Test" remote interface.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic