Hi all
I'm developing a web application with:
JSF,EJB3 and JPA (without DAO Layer).
So the idea is to create a FATHER ABSTRACT SESSION BEAN which expose all principal CRUD commons operation such as INSERT,REFRESH,DELETE ENTITY etc:
So each SPECIALIZED SESSION
EJB needs to extends this AbstractBaseService.
Ok...This is what we have tryed ,but WEBLOGIC application server fails to run:
Reading ejb3 specification on sun site i have understood why:
Specification says:
"A Session Bean class annotated with @Stateless can't be ABSTRACT and can't INHERIT from another @Stateless session bean"
My answer is:
Is there a way to accomplish my goal?
I thought:
and if i don't declare my AbstractBaseService as @Stateless session bean....???
What happen to @Stateless session bean which extends it?
Any help is appreciate!
Antonio