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
service
OneStatelessBean.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
OneStatelessBean.java
Blame
History
Raw
package com.haddouti.pg.jee6.service; import javax.annotation.PostConstruct; import javax.ejb.Stateless; /** * Session Bean implementation class OneStatelessBean */ @Stateless public class OneStatelessBean { /** * Default constructor. */ public OneStatelessBean() { } @PostConstruct public void init() { System.out.println("init(): " + this.getClass().getSimpleName()); } public String process() { // lot of magic return this.getClass().getSimpleName() + "@" + this.hashCode(); } }