complete code

all the code for service and EJB