In the J2EE tutorial from sum site, it is often mentioned this term. For example, the timersession example:

"Because it's a business method, setTimer is exposed to the local, no-interface view of TimerSessionBean and can be invoked by the client."

Thanks.

learn about the different ways EJBs can be invoked and you'll know.

http://download.oracle.com/javaee/6/tutorial/doc/gipjf.html

Accessing Local Enterprise Beans Using the No-Interface View

Client access to an enterprise bean that exposes a local, no-interface view is accomplished through either dependency injection or JNDI lookup.

*

To obtain a reference to the no-interface view of an enterprise bean through dependency injection, use the javax.ejb.EJB annotation and specify the enterprise bean’s implementation class:

@EJB
ExampleBean exampleBean;

*

To obtain a reference to the no-interface view of an enterprise bean through JNDI lookup, use the javax.naming.InitialContext interface’s lookup method:

ExampleBean exampleBean = (ExampleBean)
InitialContext.lookup("java:module/ExampleBean");

Clients do not use the new operator to obtain a new instance of an enterprise bean that uses a no-interface view.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.