david chen

Ranch Hand
+ Follow
since Nov 30, 2001
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 david chen

Hi,

This may be a lousy question, but I thought I'd ask as well. Don't want to automatically fail, by not correctly JAR-ing my files.

When you JAR your files, do you do it in the directory where your HTMLs/images are located? If so, when somebody extracts the JAR file, all the HTML files and images will be extracted to the current directory.

Or do you JAR the _directory_ where your HTML files and images are located? If so, when somebody extracts the JAR file, a folder scea-AAAAAAAAA is created on the current directory. scea-AAAAAAAAA directory will contain all the HTML and images.

Or it doesn't matter?

The reason I asked is because in CertManager, instruction says:
"In order to create your jar archive, change directory to the location of your HTML files and enter the following command: jar cvf scea-AAAAAAAAA.jar *.*" But I was thinking, when the person extrcts the files, his directory may be convoluted with my HTMLs/images.


Thank you for your patience.


Regards,
DC
Hi,

Thank you very much for the information.

Regards
DC
Hi All,

I'm planning to take Part 3 exam in two week's time. I know it's going to be an essay exam. But what's the essay all about? Is it about the project (Part 2)? Do I have to go back and review Part 1?

Thank you for the info.

DC
Hi,

I'm almost done with my project. I intend to submit it next weekend. Before I make any mistake:

- The index.html should have my name and Prometric ID?
- The filename should be scea-[prometric_id].jar? How come in the instructions, it says "...2 characters followed by 7 digits?" (Outside of the US), and my prometric ID is <1 character><8 digits> ?


Please confirm. Thank you very much.


David
[ March 23, 2006: Message edited by: david chen ]
Hi,

My component diagrams are able to show that the Travel system supports both JSP (web) and Rich GUI clients. Do I have to create TWO sequence diagrams (one for web clients, one for GUI clients) for each use case? Example, 2 use case diagrams for Prepare Itinerary use case.

Need help, please. Thank you.

David
Hi,

I have the following questions for sequence diagrams:

1. How do you show in the sequence diagram that other use case is executed. For example, from Prepare Itinerary, "System sends the priced itinerary to Pay for Itinerary Use Case?"

2. How do you indicate that an external system such as TransMaster is being called?

3. How do you show in sequence diagram that your design is both accessible by web apps (JSPs) and application clients (GUIs)? Create 2 sequence diagrams, with difference in the presentation part?

Can somebody please help? Thank you very much.


David.
[ December 30, 2005: Message edited by: david chen ]
Hi,

I'm new to Part 2 of SCEA. I was looking at the BDM. I believe the entities in the BDM would translate to classes in the class diagram. Aside from these entities in BDM, what should still be put in the class diagram, EJB objects, controllers?

Thank you very much.

- David
Hi,

Can somebody please explain to me what the entity Equipment means in the BDM provided?

Thank you very much.

- David
I haven't used RI before, but I think this is a limitation of the product. What do you guys think about this?

- David
SCJP, SCWCD, IBM OOAD
Hi Jeanne,

According to the book that I'm reading, you can expose both local and remote home/component interfaces of an EJB. If this was the case, would that mean you should deploy the FactorialBean twice, first exposing the local stuff, then on the second time exposing the remote stuff, each would have its own JNDI name? Actually I already did this, I had "MyLocalFactorial" and "MyRemoteFactorial" JNDI names for local and remote stuff, respectively. In my second EJB (PermutationBean) I had a lookup on "MyLocalFactorial", but I encountered NamingException instead. Would you know what caused this?

Thank you very much for the help!

- David
Hi,

I think I wasn't able to explain myself clearly:

I have this FactorialBean, which has local and remote home/component interfaces defined in J2EE RI. I have only one JNDI name for both, "MyFactorial". It seems weird though, if I call on the remote FactorialBean within the second EJB, it perfectly works. But when I started using the local home, this is the time I encounter ClassCastException. I thought if we want to use local home/component interfaces, we don't have to do narrow-ing anymore, just simple cast is enough?

Thank you very much for the help!
Hi,

I got this FactorialBean, which has both local and remote home interfaces and remote interfaces (When deploying this bean, I filled up both the remote and local portions of the J2EE RI server). Then I have this second EJB, defined within the same container and the same Jar as my FactorialBean, that is supposed to use FactorialBean (through local interface). Here's the code snippet of the second EJB:



However, when I ran my client application. I encounter a ClassCastException (caused by the second EJB). Here's the code snippet of the client:



I just followed what's on the book. How come this is not working. Please help! Thank you very much

Regards,
David
Hi,

I have heard that Sun is soon to upgrade the exam to J2EE 1.3. When will this happen, would anyone know?

Thank you very much.

- David
Hello,

I'm just curious about the passing rate for Part 2. Do many people actually fail?

Thanks!

- david
Hi,

I'm planning to take up the SCEA (first) exam. I have the following references at hand:

Enterprise JavaBeans (3rd Ed) by Monson-Haefel
Design Patterns by GoF
Core J2EE Patterns

Are my references good enough? What other books should I have? I was surfing at O'Reilly site, I have found Head First EJB; is this book that helpful?

Thank you,
David