in Technology by

Explain @javax.ejb.EJB annotation.

1 Answer

0 votes
by

@javax.ejb.EJB annotation is used to specify or inject a dependency as ejb instance into another ejb. Following are its attributes:

  • name - Used to specify name which will be used to locate the referenced bean in environment.

  • beanInterface - Used to specify the interface type of the referenced bean.

  • beanName - Used to provide name of the referenced bean.

  • mappedName - Used to specify the JNDI name of the referenced bean.

  • description - Used to provide description of the referenced bean.

Related questions

0 votes
    Explain @javax.ejb.Stateless annotation....
asked Nov 7, 2020 in Technology by JackTerrance
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.Local 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 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
    Which types of java classes can be mapped using @Lob annotation?...
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
...