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 6541491
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:06:42+00:00 2026-05-25T11:06:42+00:00

The EJB 3.1 Spec. states: The enterprise bean must not attempt to manage threads.

  • 0

The EJB 3.1 Spec. states:

The enterprise bean must not attempt to manage threads.

The JBoss EJB 3 Extensions Reference states:

[JMX services] are singleton beans…

So I reason:

  1. Using a multithreaded 3rd-party lib in a JMX Service is not conform
    to the Spec.
  2. A JMX service is a wrapper for a EJB 3.1 Singleton Bean with additional management capabilities provided through the JMX console.

Am I right?

  • 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-05-25T11:06:42+00:00Added an answer on May 25, 2026 at 11:06 am

    JBoss AS will (currently!) not prevent the use of threads in an EJB.

    A JMX service (MBean) is not related to EJB; threads are allowed in JMX.

    @Service beans are implemented with a JMX wrapper. They are a proprietary extension to EJBs and so do not conform to the EJB spec. They are kind of a hybrid between EJBs and JMX MBeans.

    @Service beans are not related to EJB 3.1 Singleton Beans. Although being similar, they were around before EJB 3.1 existed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I read that EJB 2.x spec does not support nested transactions. But logically think
I am new to EJB and I am going thro Enterprise Java Beans 3.1
Quick question about EJB 3 stateless bean jndi lookup from context. Does context.lookup(myBean) return
I have an EJB A that invokes EJB B . The UI should not
I have an EJB 2.1 project, works on WebShere 7. I must migrate it
With the new EJB 3.1 spec is it possible to inject an EJB into
Using EJB entity beans you can configure the bean so that when a thread
I'm using ejb 2.1 BMP, JBoss 7.1 AS I need to get List ordered
I have used EJB and have started it on JBOSS Server. I want to
This is my understanding of relationship between the EJB spec and Java versions EJB

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.