• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB Local Interface Calls and threads ?

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I always thought that a business method call from a bean A on the local interface of a bean B was done in the same Thread as the execution of the method in B ? Probably that it is so in most server implementations, but is that required by the specification ? I think that the contrary would make server code and transaction management much harder...

Thanks in Advance for your responses...

More over in a previous post in an another topic I posted the way I would implement EJB in order to achieve scalability and fail-over with beans (things I know are NOT guaranteed by the spec). Is that realistic ? (Note: I don't want to implement a Server, just to get an idea of realistic implementations).

Please look here for my previous (maybe stupid) post: https://coderanch.com/t/422565/EJB-Other-Java-EE-Technologies/EJB-Tx-Exception-questions#1865164
 
author
Posts: 580
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jean-Luc,

I am interested in developing an EJB 3 implementation as well (time has been my biggest problem for this). If you are serious about this, send me an email at reza_rahman@lycos.com.

Best regards,
Reza
 
Jean-Luc Thirion
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Reza Rahman wrote:Jean-Luc,

I am interested in developing an EJB 3 implementation as well (time has been my biggest problem for this). If you are serious about this, send me an email at reza_rahman@lycos.com.

Best regards,
Reza



Reza, thanks for your answer but like I said in my first post, I don't want to implement the spec. I just want to get a deep understanding of things and know how it is possible to write efficient implementations of the spec.

If you start an implementation, I will be very interested at looking each piece of code and maybe more. ;)

Best regards,

Jean-Luc
 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Jean-Luc,

Do you use a specific server ? and EJB3 or 2.1 ?

I think the transaction management refers to the JTA spécification rather than EJB no ?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic