Tag Archives: EJB

Serializing reference of @Stateful session beans in EJB 3.1 with GlassFish 3.1

It’s all started with the EJB 2.1 and the javax.ejb.Handle interface. I remember I’ve always been meaning to check it out myself – how it is to save a reference of a stateful session EJB. There’s a myriad of use cases that would justify the need to figure it out – storing a @Stateful EJB […]

Java EE Also tagged Leave a comment

@Schedule expression rules in EJB 3.1 – wonders never cease

It’s a new feature of EJB 3.1 to use calendar-based EJB Timer expressions in the @Schedule annotation as well as to be able to define automatically created EJB timers. What came as quite a surprise to me was to find out that the defaults for @Schedule cause a timer goes off at midnight when no […]

Java EE Leave a comment