Bill Wang

Ranch Hand
+ Follow
since Jun 28, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Bill Wang

Well, local interfaces in EJB2.x do increase the performance of the communication so that we can use fine grained entity beans without worrying about network traffic. But if your j2ee app is designed for the distributed environment, local interfaces wouldn't help much. So I think in such case, composite entity will still be needed.
Just my two cents
check your sql statement to make sure that the fields that you are using have the same types as your db table fields.
the best place to put config file in web application is under WEB-INF directory. In your jsp or servlet, you can load the config file such as String file=getRealPath()+"/WEB-INF/xxxxyourfilename" ;
Bill
21 years ago
It seems it is a problem with some web container implementation. Which version of Tomcat are you using? I have similar problem with Websphere Test Environment V4.0. You can let your object implements HttpSessionBindingListener and calculate the time between valueBound and valueUnbound to see if it is one minute.
Hope it helps

Bill
21 years ago
It seems it is a problem with some web container implementation. Which version of Tomcat are you using? I have similar problem with Websphere Test Environment V4.0. You can let your object implements HttpSessionBindingListener and calculate the time between valueBound and valueUnbound to see if it is one minute.
Hope it helps
21 years ago
Any good study books or resources for Part II?
Does anyone know what kind of format Sun expects when you submit PartII?
Thanks
Bill
Thanks Thomas. It looks like only the Community Edition is free. Is it enough for the project? Have you used it before and how do you like it?
Thanks again,
Bill
Pawan,
ejb can be identified through local namespace as well as jndi global namespace. local namespace such as java:comp/ejb/xxxBean is the preferred way to look up ejbs in the container since it will resolve the potential name conflict. It is cross J2EE app servers. Therefore it is defined in the ejb-jar.xml as ejb-ref-name tag using ejb/xxxBean naming convention. While jndi is specific to the application server, so it is defined in the app server specific xml file.
Hope it helps
Is there any good free UML tool to be used in Part II?
Thanks
well, I think SessionHanlder will be a better choice in your case, Karan.
Since you pass session object into the static method only to retrieve data, there should not be any synchronization problem. And it much easier to handle changes in the future
Bill
Cleared the exam this morning. I have some J2EE and EJB working experience and used Allen and Bambara's book to prepare for the exam for about three weeks. There are a lot of case based questions focus on J2EE and EJB. The section that I didn't do well was security. There were some tricky questions on this topic. Again, one suggestion, when you prepare for the exam, make sure to know why instead of just remembering because there are many questions that apply to the real world.
Once again, thanks a lot to the group for providing such valuable information.
I am going to target the part II soon.
Bill
SCEA includes 11 section. How are they divided in part 1 exam? Does any specific section have more questions?
I don't think Sun will publish this. The certification exam is to test people's understanding of the technology, not to test the people's ability of taking exams. So I think it does't make sense to publish such statistics. What's the difference between 95% and 100%?
As far as I know, multipartRequest is for the Http form posting using the enctype="multipart/form-data". It looks like you try to load and print the local files on the servlet server. If that's the case, regular file IO package can hanlde it. Otherwise, you need to have a form like the following to submit your request:
<form method="post" enctype="multipart/form-data"
action="/servlet/yourservlet">
<input type=file name="">
</form>
Hope this helps

Originally posted by Tony Kemp:
Sorry about that, let me try again with code tages:

22 years ago