• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

implements

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic