Joe Skora

Greenhorn
+ Follow
since Jan 29, 2004
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 Joe Skora

The benefits of Seam in a web stack appear to be fairly obvious. But, we also have a need to connect to the facades from a desktop based client. Having done this with another EJB project, we had no luck making it work after getting a Seam-Gen generated project running.

Is it possible to create a remote client version of the facades that will work through RMI? (This could also be useful in the case of clustered web servers.)

Thanks,

Joe Skora
You would received this on the test results sheet you got after completing the exam. None of the online resources will reflect your actual score, nor will it be sent by Sun when you request them to forward your certification credentials.
12 years ago
Though something this hard may not be on the exam it helps point out the need to have a plan for how you approach the exam questions. From the length of Corey's explanation, it is clear that this code is complicated. Handling the question from simple to hard issues lets you get through it the fastest, once you are sure you understand the basics of the code.

If it were an exam question, a simple read through renders options A & E as false, the linear path through the code establishes 23 will be printed before any thread starts. Second, since printing 24 and printing 21 are the next actions after the first thread starts, option C is impossible to determine because it will depend on the JVM scheduler.

Without even getting into the thread join behaviors, only two options are left, which can then be more easily validated.

On some questions, however, you do need to breakdown into a complete linear walkthrough tracking variable values, etc. before you can determine which answers are correct.

Joe
Every constructor must have a call to this() or super(), if you don't include it, the compiler will add a call the no-arg constructor of the parent. So, the constructor in BLBeck becomes:

BLBeck(){
super();
System.out.print("BLBeck");
}

But, in this case the Vict's no-arg constructor is private so you get the compile error. Vict needs some constructor that can be reached by a subclass or it can't be extended.

If Vict had a different constructor (i.e. different argument signature) that was protected (or default if BLBeck is in the same package), you could explicitly call that in your subclass and the compiler would not need to generate the super() call. Then it would compile.

Joe Skora
All,
There are numerous references around the web and even one here at JavaRanch to a better snoop servlet at http://objectpro.surfnetusa.com/jsp-heaven/opexamplejsps/snoop/supersnoop.jsp, but this site appears to no longer exist. Is there anywhere to get the source for that servlet or something similar that provdies a more complete picture of the request object, etc?
Thanks,
Joe Skora
15 years ago
We have not been able to configure a Tomcat 3 instance to log each access, similar to the Tomcat 4 "localhost_access" logs. Is there a way to do this without significant coding? Any help appreciated, this instance needs to go away, but we would like to know that it is no longer server users before retiring it.
Thanks,
Joe Skora
15 years ago
We are in the process of evaluating whether a J2EE or .NET platform is better for our in house application development. The most likely conclusion is that they are capable of meeting our requirements. That being the case is there a "preferred" J2EE platform for interoperability with .NET or are they all equal in that regard?
Thanks,
Joe Skora
15 years ago