This week's book giveaways are in the Cloud and AI/ML forums.
We're giving away four copies each of Cloud Native Patterns and Natural Language Processing and have the authors on-line!
See this thread and this one for details.
Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML forum!

Wendal Park

Ranch Hand
+ Follow
since Aug 28, 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 Wendal Park

My experience with EJB framework is quite limited, but the following is the way I am working in my current project.

I think the difference between Business Delegates and Session Facade is about how you package your application.

If you design to divide your J2EE application into Web side and App side, then the Web side is placed in the Web server while the App side is placed in the App server. They can either be located in the same machine, or physically in 2 separate servers. Business Delegates should be placed in the Web side, along with those Action classes / servlets. On the other hand, Session Facade objects are located on the Application side. My view is that it is the Business Delegates that make calls to the corresponding Session Facades through their remote interface.
[ May 31, 2004: Message edited by: Wendal Park ]
15 years ago
JSP
Congrats !!
What a great score too!

(In fact, this thread should be in this forum)
15 years ago
Oh right, thanks for pointing out that.
I was just focusing on the single char (e.g. 'a') case which made me think of ASCII from the very beginning.
Geoffrey, I believe your explanation isn't quite correct.

The integer value of a char primitive is in fact the ASCII value of the character it represents. As it shows in the following code:



So even for char x = '1', the value x holds is the ASCII value of '1', which is 49.
[ May 25, 2004: Message edited by: Wendal Park ]
Or you can read it this way:

class B extends A { ... } => Read as "Class B is an A" ...
But you should also know A may not be a B.

Those "is-a" and "has-a" relationship would help your understanding ...
Daemon threads are also called "Service threads" ... an example would be the garbage collection thread inside a JVM.

Just a note to point out that you have to set a thread to be a daemon thread prior to calling yourThread.start(), otherwise calling [yourThread.setDaemon(true)[/i] thereafter will not change the thread's status. This should be easy to understand though ...
Any bitwise operations (~, ^, |, &) will automatically convert the operands into int type prior performing the operation. When done, int type will always be returned.

Special care is needed here to determine if an explicit type casting is needed.
Yes, using labels referred to loops is legal in Java. You may hence think it's not the usual coding style. However, for labels that are used in nested loops scenario, it may give you a better idea about the true value of using labels. It gives an alternative to manipulating a couple of indices in a program (which make code less readable).
I don't know much about resources specifically designed for this upgrade exam. However, I am sure you can drop all the AWT / Listener / IO stuff and catch up on the new things such as Assertions etc.

There are quite a few online mock exams designed for SCJP 1.4. Some are listed here.
Well, from my perspective, the usage of the word MOST refers to one and only one choice. So it's got to be the default access modifier.
Wow, that's an unbelievable score!!
Congrats!!

I am working my way towards SCBCD too ... Hope the J2EE 1.4 / EJB 2.1 version exam won't be out till next year.
15 years ago
Agree with Bear ...

In addition, if you use that variable just for one page transition, you may consider using request.setAttribute("myFlag", new Boolean(true)) and (Boolean)request.getAttribute("myFlag") instead of storing it in session.

The main point here is that the variable is bound to that specific request, and is not public to other pages.
15 years ago
JSP
Try break down you JSP into a couple small JSPs using the include directive.

sometimes compiling a too large JSP page may give OutOfMemoryException in Tomcat ... that's what I had before
15 years ago
JSP