Timber Lee

Ranch Hand
+ Follow
since Oct 14, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Timber Lee

I want to migrate an EJB module from weblogic to websphere server, but "EJB container caught java.lang.NullPointerException" occurs when ibm websphere server starts. could you give me some advices to solve it? thanks
I want to migrate an EJB module from weblogic to websphere server, but "EJB container caught java.lang.NullPointerException" occurs when ibm websphere server starts. could you give me some advices to solve it? thanks
20 years ago
I have an application which can run well on JBoss and WebLogic , and I import it into the workbanch of IBM Websphere Studio Application Developer 5.0. When generating EJB deploy code of "cache-ejb" module, an exception is shown as follow:
Deployment of cache-ejb did not complete successfully due to the following error: java.lang.NullPointerException
I am not familar with Websphere Studio Application Developer ,have no idea about it? please help to solve it!thanks inadvance
[ July 31, 2003: Message edited by: Timber Lee ]
20 years ago
I think using open source is not so safe to some extent. if an application has the frameworks of open source inside it , and need to be upgraded to new version of J2EE, how to do without new version of the framework?
Hi,
I little know about protection of use of open source, sometimes I worry about that the developers would stop sharing their open software , for example,Struts does not open anymore. are there anything to protect users?
[ July 14, 2003: Message edited by: Timber Lee ]
I have passed SCEA PART 1 test for long time, but still not recieve any from sun. should I recieve any formal notice with my score? if it was lost on its mailing way, may I ask Sun Microsystem for another?
thank very much for your reply in advance!
what does ejb deployment descriptor include?
1,mehtod permission
2,database connection
3,security role
4,home,remote,bean file name
for entity cmp bean, what should ejbCreate mehtod return?
does RMI-IIOP offers Inbuilt support for security and transactions?
4. If you are implementing an entity bean, which class is not required?
A. javax.ejb.EJBObject
B. javax.ejb.Entity
C. javax.ejb.EJBRemote
D. java.ejb.EJBHome
ans. is c. how about ans. b
Your 3-tier application has been deployed in a production environment and has been running smoothly for over three months. However, recently you are getting three times the normal traffic due to a Television promotion campaign. To cope with increased traffic, you decided to introduce Round-Robin load balancing. Which of the following is the closest description about how the Round-Robin load balancing technique copes with the increased traffic?
I am confused, can Round-Robin perform load balancing? how about reverse proxy? please help me to understand, thanks
[ March 27, 2003: Message edited by: Timber Lee ]
my answer is "D", is it correct?
[ March 27, 2003: Message edited by: Timber Lee ]
following question has been posted in this forum, butI can not understand the sentance "The bean cannot recover from this checked exception", does it mean the exception has been handled by container? if so, the container rolls transaction back and throws an EJBException, that is to say no given options are proper for this question. do you think so?
EJB business method performs an operation that
throws a checked exception. The bean cannot recover from this checked exception and should rollback. The bean will be deployed using
container-managed transaction demarcation. Which
implementation is the BEST?
A. public void businessMethod() { try { // operation
throwing
SomeCheckedException goes here }
catch (SomeCheckedException ae) { throw new
EJBException(ae); } }
B. public void businessMethod() { try { // operation
throwing
SomeCheckedException goes here }
catch (SomeCheckedException ae) {
context.setRollbackOnly(); throw
new EJBException(ae); } }
C. public void businessMethod() throws EJBException
{ try { //
operation throwing
SomeCheckedException goes here } catch
(SomeCheckedException ae) {
throw new EJBException(ae); }
}
D. public void businessMethod() throws EJBException
{ try { //
operation throwing
SomeCheckedException goes here } catch
(SomeCheckedException ae) {
context.setRollbackOnly();
throw new EJBException(ae); } } }}
1. how to specify how many instances to pool at deployment time?
2. how to specify the limited time within which a CMT bean transaction must finish?
3. how to specify the limited time within which a BMT bean transaction must finish?
4. how to specify state timeout for stateful EJB, stateless EJB and entity EJB?