Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

A bean implements mulitple interfaces

 
Himai Minh
Ranch Hand
Posts: 1398
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In JSR 318, p. 125

A bean class is permitted to have more than one interface. If a bean class has more than one interface ... any business interface of the bean class must be explicitly designated a business interface of the bean by means of Local or Remote annotation.

However, I think GlassFish does not follow this rule:







Based on the JSR 318, we must put @Local annotation in XLocal and YLocal. However, without the @Local, it still works.

 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!