Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB 3.1 - No interface client view  RSS feed

Rakesh K. Cherukuri
Ranch Hand
Posts: 48
Eclipse IDE Fedora Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Regarding no interface client view, the spec says
A Session Bean’s no-interface view is a variation of the Local view that exposes the public methods of the bean class without the use of a separate business interface.

It also says
A client does not directly instantiate (use the new operator on) the bean class to acquire a reference to the no-interface view.

Googled it couple of times but couldn't find answer for "Is there a way to prevent client from using new operator ?"

Appreciate any comments.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!