• 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

timer service questions.

 
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am going over the scbcd5 guide from java.boot.by.

I have worked on many different EE apps. Most of them have done things that Sun(the spec) says we should not(Example: create threads, or create server sockets that listen for incomming traffic on a specific port, or both)

I am trying to reconcile the statement, "timmers cannot be created for stateful session and 3.0 entity beans". I can understand that I should not create a timmer, just as I should not create a listener on a specific port. BUT the word "cannot", Is it truely cannot??? would an entity bean ever need to access a timmer object?

Why was timer service removed from entity beans in the transtion from 2.1 to 3?
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is not such think as entity bean in new 3.0 specification. Since JEE 5 there are entities that are POJO. Container use PersistenceProvider API to manage them. You can use old fashion entity beans in JEE5 environment if you want. There are still available only for backward compatibility but there are deprecated. I hope I have answered your question.
reply
    Bookmark Topic Watch Topic
  • New Topic