目录
目录 ........................................................................................................................................................................... 1
(1):编写第一个无状态的 SESSIONBEAN........................................................................................................ 2
一、配置开发环境................................................................................................................................................. 2
二、开发无状态 S
ESSION
B
EAN
............................................................................................................................. 3
三、编写客户端程序............................................................................................................................................. 5
(2):编写有状态的 SESSIONBEAN.................................................................................................................... 7
(3):使用 SESSION BEAN 的本地接口.............................................................................................................. 9
(4):SESSION BEAN 中的注释方法..................................................................................................................11
(5):使用配置文件发布 SESSION BEAN..........................................................................................................12
(6):JBOSS中测试中的常用错误........................................................................................................................13
(7):JBOSS只能本地访问,不能通过 IP 远程访问解决办法............................................................................15
(8):JBOSS EJB3(HELLOWORLD)备忘记.......................................................................................................15
摘要: .....................................................................................................................................................................15
备忘记开始: .......................................................................................................................................................16
[1]
安装
jdk 5
:
...............................................................................................................................................16
[2]
安装
JBoss EJB3
:
....................................................................................................................................16
[3]
第一次启动
JBoss
:
..................................................................................................................................18
[4]
安装
Eclipse WTP
:
...................................................................................................................................18
[5]
安装
JBoss IDE
:
......................................................................................................................................18
[6]
使用
Eclipse
建立第一个
EJB3 Project [
即
HelloWorld ]
:
..................................................................18
[7]
建立
HelloWorld Stateless Session Bean
及
Local, Remote interfaces
:
....................................................19
[8]
建立客户端测试程序:
.............................................................................................................................20
[9]
使用
ANT
建立
EJB-JAR
并执行
Client
程序:
....................................................................................20
MYECLIPSE EJB 3.0 TUTORIAL........................................................................................................................22
T
ABLE OF
C
ONTENTS
................................................................................................................................................22
1.
I
NTRODUCTION
....................................................................................................................................................22
2.
S
UGGESTED
A
UDIENCE
.........................................................................................................................................22
3.
S
YSTEM
R
EQUIREMENTS
.......................................................................................................................................23
4.
G
ETTING
S
TARTED
...............................................................................................................................................23
5.
C
REATING A
S
TATELESS
S
ESSION
B
EAN
..................................................................................................................26
6.
T
ESTING OUR
B
EAN
..............................................................................................................................................32
Deploying the Bean
.........................................................................................................................................32
Testing the Bean
..............................................................................................................................................36
7.
C
ONCLUSION
........................................................................................................................................................41
9.
R
ESOURCES
.........................................................................................................................................................41
10.
F
EEDBACK
.........................................................................................................................................................42
评论2
最新资源