Paul Wong

Greenhorn
+ Follow
since Aug 14, 2002
Merit badge: grant badges
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Paul Wong

I have been having the same problem as well but there is a text file which lists authorized users to have access to the JNDI

Example of my client.txt file

I am able to have access to my datasource now.

[ April 26, 2006: Message edited by: Paul Wong ]
[ April 26, 2006: Message edited by: Paul Wong ]
18 years ago

Haahaa. Yeah, just missing SCWCD. That's because I jumped into java a bit late. The SCWCD beta offer ended as I was taking my SCJP back in 2001. All in all, it took about 3 years of dragging my feet with SCEA. Most of the certs were thru Sun Beta Certification offers, like many helpful people here.
All the best...!!!

P.S. Been doing Web Application since I started working, so the cert was not very necessary.
Do you want to call your servlet to retrieve a value or retrieve a page (replace a <div> or redirect entirely to that page?
Anyhow, check out AJAX. You can use it to retrieve a value, or even replace a <div> where the div is the content of your servlet.
I guess that to redirect your entire page to the servlet should not be a problem as you can use the javascript window.location=<servlet page>
19 years ago
When I started my SCEA, what I found most useful are the tutorials and mock exams on the web. I had Mark Cade's and it was good, just that it did not cover many things which were in the exam. JWhiz for SCEA also provided some good reading material which are solid.
Check out Apache POI. It's an open source API to read and write to Microsoft Format Files.
As for detecting if a cell changed in the Excel file, maybe run a deamon thread which checks for the date of the Excel file. Then, when the date has changed, do whatever you wish to the Excel file with Apache POI.
My experiences with POI has been pretty good so far maybe because the spreadsheets were pretty simple.
Good Luck!
[ August 04, 2005: Message edited by: Paul Wong ]
19 years ago
Hi, you can try checking out AJAX. One good site is AJAX in Action. With AJAX, what you might be able to do is for every onblur of a FORM, have AJAX send it to the backend to save into the session. So when the user calls a new window with Ctrl+N, it should have values in the session already.
19 years ago
Have a look at this. I think it's what you're looking for
http://struts.apache.org/faqs/indexedprops.html
19 years ago
FINALLY! After a long time, i've completed my SCEA. Thanks everyone for your GREAT post.!!!

19 years ago
Prometric replied and said that they will update my details manually. Thanks
Anyone who did the Beta Exam received their cert? I got my result slip but have not received the cert yet. Been quite some time.
Saw this article quite some time ago

Integrating Struts, Tiles, and JavaServer Faces
20 years ago
Just found another way around this which proved to work. Instead of having the PROVIDER_URL set to "iiop://localhost:2809", I have set it to "iiop://localhost:2809/cell/clusters/MyClusterName". After trying this out on WSAD's Universal Test Client, it seems to work.

Thanks
20 years ago
I am currently having a problem with looking up for EJBs deployed in my WebSphere network deployment environment. To lookup for the EJBs, I am using direct JNDI (i.e. without going thru EJB references).

I understand that in the network deployment we have to provide the prefix 'cell/clusters/<myclustername>/ejb/MyEJB'. Rather than having this prefix, is there are better way?

To solve this, a properties file can be introduced or there is a WebSphere API that can obtain the current Cell name. However, by having the properties file, every server would have to have a different properties file. This would not be a good practice and gives more work to the deployment team. And using the WebSphere API, the code cannot be reused in a standalone application (not in a J2EE container).

Any advice would be helpful. Thanks!
20 years ago
Are we able to use form based login for web access security in the assignment?
Thanks