由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Java EE 习题 1
相关主题
请问一个问题hibernate性能问题
spring解决了什么问题?Re: Entity EJB: anyone with real experience
Re: 4年.NET经验在bay area大概能拿多少? (转载)need help from the J2EE expert
About HibernateQuestions on EJB3 Persistence/Hibernate
大家都是搞技术的谁来给简单的讲讲JAAS
Java,EJB的performancej2ee without EJB
EJB2 QuestionJEE 6 看起来不错
guice, spring和ejb有人用seam吗
相关话题的讨论汇总
话题: ejb话题: import话题: hellobean话题: entity
进入Java版参与讨论
1 (共1页)
s***8
发帖数: 1136
1
import javax.ejb.*;
import javax.annotation.*;
import javax.persistence.*;
______________
public class HelloBean {
public void hello() {
...
}
}
Which of the following annotations can be added to the blank to make
HelloBean a valid EJB bean class (there may be more than one correct answers
)?
A, @Stateless
B, @Stateful
C, @Singleton
D, @EJB
E, @Entity
F, @ManagedBean
G, All of the above
H, None of the above
q*********u
发帖数: 280
2
abde
cheat sheet一把,ms没有singleton和ManagedBean

import javax.ejb.*;
import javax.annotation.*;
import javax.persistence.*;
______________
public class HelloBean {
public void hello() {
...
}
}
Which of the following annotations can be added to the blank to make
HelloBean a valid EJB bean class (there may be more than one correct answers
)?
A, @Stateless
B, @Stateful
C, @Singleton
D, @EJB
E, @Entity
F, @ManagedBean
G, All of the above
H, None of the above

【在 s***8 的大作中提到】
: import javax.ejb.*;
: import javax.annotation.*;
: import javax.persistence.*;
: ______________
: public class HelloBean {
: public void hello() {
: ...
: }
: }
: Which of the following annotations can be added to the blank to make

s***8
发帖数: 1136
3
abc
Singleton is new in ejb 3.1, ManagedBean is new in Java EE 6.
@EJB declares a ejb-ref, not ejb bean class.
@Entity declares a persistence entity, which is not EJB.
q*********u
发帖数: 280
4
哟呵,3.1, ee6, 好题阿。。。

abc
Singleton is new in ejb 3.1, ManagedBean is new in Java EE 6.
@EJB declares a ejb-ref, not ejb bean class.
@Entity declares a persistence entity, which is not EJB.

【在 s***8 的大作中提到】
: abc
: Singleton is new in ejb 3.1, ManagedBean is new in Java EE 6.
: @EJB declares a ejb-ref, not ejb bean class.
: @Entity declares a persistence entity, which is not EJB.

q*********u
发帖数: 280
5
接着贴阿,再接再厉

import javax.ejb.*;
import javax.annotation.*;
import javax.persistence.*;
______________
public class HelloBean {
public void hello() {
...
}
}
Which of the following annotations can be added to the blank to make
HelloBean a valid EJB bean class (there may be more than one correct answers
)?
A, @Stateless
B, @Stateful
C, @Singleton
D, @EJB
E, @Entity
F, @ManagedBean
G, All of the above
H, None of the above

【在 s***8 的大作中提到】
: import javax.ejb.*;
: import javax.annotation.*;
: import javax.persistence.*;
: ______________
: public class HelloBean {
: public void hello() {
: ...
: }
: }
: Which of the following annotations can be added to the blank to make

1 (共1页)
进入Java版参与讨论
相关主题
有人用seam吗大家都是搞技术的
Java EE 习题 2Java,EJB的performance
SingletonEJB2 Question
说说spring和ejb的差别guice, spring和ejb
请问一个问题hibernate性能问题
spring解决了什么问题?Re: Entity EJB: anyone with real experience
Re: 4年.NET经验在bay area大概能拿多少? (转载)need help from the J2EE expert
About HibernateQuestions on EJB3 Persistence/Hibernate
相关话题的讨论汇总
话题: ejb话题: import话题: hellobean话题: entity