I want to export a Web-Service which was implemented as a stateless EJB. I know that these WebServices were hanled by the EJB Container, when they are annotated as @Stateles
Lifecycle Callbacks : You can have a method with @PostConstruct
annotation which gets called after the container has initialized the bean.
Interceptor : You can have a interceptor class which gets invoked when applied at bean class/method level by annotation @Interceptors(ProcessMonitor.class)
.
Note : I haven't tried it in conjunction with @Webservice
.