git.schokokeks.org
Repositories
Help
Report an Issue
playground.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
6f5c2c1
Branches
Tags
master
JEE-Testapp-01
JEE-Testapp-02
JEE-Testapp-03
JEE-Testapp-04
playground.git
testapp-jee6
src
main
java
com
haddouti
pg
jee6
OneService.java
- change CDI to EJB - change arquillian container from Weld to Glassfish embedded - MS JEE-Testapp-03
Hafid Haddouti
commited
6f5c2c1
at 2014-04-26 22:16:27
OneService.java
Blame
History
Raw
package com.haddouti.pg.jee6; import javax.annotation.PostConstruct; import javax.ejb.EJB; import javax.ejb.Stateless; import com.haddouti.pg.jee6.service.OneStatelessBean; /** * This is service */ @Stateless public class OneService { @EJB private OneStatelessBean bean; @PostConstruct public void init() { System.out.println("init(): " + this.getClass().getSimpleName()); } public String process() { // lot of magic return this.getClass().getSimpleName() + "." + bean.process(); } }