Simple EJB 3 Application Using JBoss and Eclipse
Simple EJB 3 Application Using JBoss and Eclipse
9/16/2
!a"e t#e Project SimpleEjb3Project. $ake sure t#e EJB $o%ule &ersion is '. . C#eck (%% project to an E(). *#is will create a separate Project +or %eploy"ent. Click Next.
9/16/2
We will not use a Client Project +or t#is si"ple e,a"ple. We will not -enerate a .eploy"ent .escriptor. Click Finish.
9/16/2
'
We will create a &ery si"ple application wit# 1 EJB Stateless Session Bean an% create a stan%alone client +or a test. *#e /asic steps are0 1n t#e EJB project o Create a new packa-e na"e% ejbs o Create t#e EJB Bean o Create t#e *est Client
9/16/2
9/16/2
!a"e it SimpleRemote.
9/16/2
9/16/2
9/16/2
9/16/2
9/16/2
9/16/2
11
9/16/2
12
} }
9/16/2
1'
9/16/2
12
9/16/2
13
9/16/2
16
9/16/2
14
< )6!S61% is set to be a )onsole>ppen er 3sing a ?attern1a0o3t. log=j.appen er.)6!S61%=org.apa/9e.log=j.)onsole>ppen er log=j.appen er.)6!S61%.+9res9ol =*!76 log=j.appen er.)6!S61%.la0o3t=org.apa/9e.log=j.?attern1a0o3t log=j.appen er.)6!S61%.la0o3t.)onversion?attern=@ AmAn
9/16/2
15
9/16/2
19
9/16/2
9/16/2
21
9/16/2
22
9/16/2
2'