java - Create Session in Restful sevice in EJB module -


I'm using quiet service with ease implementing and turning on ejb. I want to know how we create and maintain the state in the RAST service in this session. Is there any example available?

What can I use:

  @Stateless Public Class TestResource TestResourceLocal Apply {@Override Public Test Exam (String ID, String Ultimate) {// todo}} @Local @Path ("/ affilate") Public Interface Affiliate Resource Local {@GET @ path ("{ID} - {Ultimate}") @ Product ("Application / JS") Public Zero Test (@footprom ("id" ) String id, pathperm ("param") string absolute); }   

Thanks for the advance!

Artem

The talks about the state and the rest are interesting reading for you May be.

Comments