Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8843893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:21:00+00:00 2026-06-14T11:21:00+00:00

I would be very much thankful to clear me some question about this new

  • 0

I would be very much thankful to clear me some question about this new EJB3.0 and above version:

1) if suppose I need ejbCreate, ejbActivate and all other events so how can I get it from the new EJB3.0 and above ver.

2) I always have problem to find particular xml file to alocate a JNDI name according to variety of Application Servers so is there any way that I can give JNDI name without xml file and can also be use a portable name that in every Application Server it can be findable of EJB deployed on app server remotely

3)Can any buddy tell me, i have hosting plan of Java/Linux which supports
i) Tomcat – 5.5.xSupport
ii)JDK – 1.6.x Support
iii)JSP/servlet – 2.0 Support

can it be possible that EJB 3.1 be deployed because some where i have got that tomcat is not able to deploy EJB so please give me some advice help…

Thank You…!!!
please Help me…!!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T11:21:01+00:00Added an answer on June 14, 2026 at 11:21 am

    1) ejbCreate, ejbActivate etc. are related to EJB 2.x, if you need similar functionality in EJB 3.x, you should decorate your methods with annotations @PostActivate, @PrePassivate etc. Method signature should follow certain rules, example for @PostActivate:

    The method annotated with @PostActivate must follow these
    requirements:

    The return type of the method must be void.
    The method must not throw a checked exception.
    The method may be public, protected, package private or private.
    The method must not be static.
    The method must not be final.
    

    This annotation does not have any attributes.

    2) It seems that you’re referring to name and mappedName attributes of @Stateless and @Stateful annotations. For more details see official documentation. From my experience mappedName is better, but it’s application-server-specific, e.g. on Glassfish it works perfectly. Example:

    @Stateless(mappedName="ejb/myBean")
    public class MyFirstBean {
    ..
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i m new to this android application development i would be very much grateful
Would very much appreciate some assistance with this issue. I use the following common
I'm quite new on data bases and would be very grateful for some help,
I would very much appreciate some assistance from the community on replacing a string
Have a problem I'm trying to work through and would very much appreciate some
Hey Guys I would very much appreciate some help with the following. We're using
I am an SQL rookie and I would very much appreciate some assistance on
I would very much appreciate your help. I am new to Magento and exploring
Would very much appreciate any help or hint on were to go next. I'm
have small problem, and would very much appreciate help :) I should convert byte

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.