in Technology by

Explain @javax.ejb.Local annotation

1 Answer

0 votes
by

@javax.ejb.Local annotation is used to specify Local interface(s) of a session bean. This local interface states the business methods of the session bean (which can be stateless or stateful).

This interface is used to expose the business methods to local clients which are running in same deployment/application as EJB.

Following are its attributes:

  • value - Used to specify the list of local interfaces as an array of interfaces.

Related questions

0 votes
    Explain @javax.ejb.PostActivate annotation....
asked Nov 7, 2020 in Technology by JackTerrance
0 votes
    Explain @javax.ejb.ActivationConfigProperty annotation....
asked Nov 7, 2020 in Technology by JackTerrance
0 votes
    Explain @javax.ejb.Remote annotation....
asked Nov 7, 2020 in Technology by JackTerrance
0 votes
    Explain @javax.ejb.EJB annotation....
asked Nov 7, 2020 in Technology by JackTerrance
0 votes
    Explain @javax.ejb.MessageDrivenBean annotation....
asked Nov 7, 2020 in Technology by JackTerrance
0 votes
    Explain @javax.ejb.Stateful annotation....
asked Nov 7, 2020 in Technology by JackTerrance
0 votes
    Explain @javax.ejb.Stateless annotation....
asked Nov 7, 2020 in Technology by JackTerrance
0 votes
    Explain annotation in EJB to do the database entity relationships/mappings....
asked Nov 7, 2020 in Technology by JackTerrance
0 votes
    new to play and just trying to follow the video on: http://www.playframework.org/ I'm coming so ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 2, 2022 in Education by JackTerrance
0 votes
    When a local session bean is used in EJB?...
asked Nov 7, 2020 in Technology by JackTerrance
0 votes
    What is JNDI? Explain its terms in terms of EJB....
asked Nov 7, 2020 in Technology by JackTerrance
0 votes
0 votes
    Explain @Embeddable annotation?...
asked Nov 7, 2020 in Technology by JackTerrance
0 votes
    Which of the below is an incorrect annotation with respect to JUnits? (a) @Test (b) @BeforeClass (c) @Junit ... & Miscellaneous of Java Select the correct answer from above options...
asked Feb 23, 2022 in Education by JackTerrance
0 votes
    What is the difference between Hibernate and EJB 3? Do not you think EJB 3 is just a clone of Hibernate?...
asked Jun 5, 2021 in Technology by JackTerrance
...