Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

Mike Cunningham

Ranch Hand
+ Follow
since Nov 14, 2000
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mike Cunningham

Not sure if you want spelling errors pointed out.  In case it helps...
Page 205
getOrDefault should replace getOrDeafult


I'm enjoying the book.  Every page gives lots to think about.
Under 'Numeric Promotion and Casting'... it states "see if you can understand why only one of these case statements compiles".  Then the example shows two case statements that will compile.
The last time I leveraged the Cattle Drive was around 15 years ago when I was studying for the SCJP v1.2 exam.  Well, I passed that exam... but never finished the Cattle Drive.  I'm interested in getting back into the Cattle Drive assignments... and I'm interested in studying for the OCP Java SE 11 Programmer exams.  Am I grandfathered in on the Cattle Drive?  Also, can I use Java 11 for my code?

Mike
7 months ago
I ordered this book about a month ago. A friend of mine ordered it at least two months ago. It has been out of stock on Amazon's site for a long time. Is there a publishing issue that is causing the delay?
Hi Rogers,

I see your book goes into closures for Java 8. Can you elaborate on what other significant changes were applied to this book compared to the last 'Java in 24 hours' book? also if you don't get into Lambda, is there a book that covers it which you would recommend?

Thanks,

Mike
6 years ago
I was informed recently by a coworker that AJAX has been around for years and that recently it took off? Any truth to that?
14 years ago
JSF
Hello,

How in depth do you discuss "Profiling"? I notices it's listed in the title of Appendix A. I'm looking for information on profiling techniques (particularly with WebSphere Studio App. Developer).

Thanks,

Mike
15 years ago
Yes, it's a java program calling another java program. I use the ServerSocket.accept() method to get a handle on the server socket. The part that I'm unclear about is how to

pass the returning Socket off to logic that will handle the connection

for the multiple sessions that take place in this application.
I have a program that calls another java program whose basic purpose is to open a server socket, listen for a response, and then close the server socket.

I would prefer to open the socket for responses once and be able to get a handle on it when needed.

If anyone can inform me of the process for this or throw in a snippit of code to get me started I would really appreciate it.

Thanks,

Mike
I have a program that calls another java program whose basic purpose is to open a server socket, listen for a response, and then close the server socket.

I would prefer to open the socket for responses once and be able to get a handle on it when needed.

If anyone can inform me of the process for this or throw in a snippit of code to get me started I would really appreciate it.

Thanks,

Mike
Hi,

I'm needing to call a java servlet from a seperate java class using a PL/SQL function for an application residing on Oracle Application Server. What steps should I keep in mind in order to make the code thread-safe? I understand that I should avoid instance variables. Also, make any variables whose values remain constant as 'final'. So far, I've only been able to call java methods from PL/SQL functions that are defined as 'public' & 'static'. I don't want to impliment the single-threaded model since this application will be fairly high volume.

Thanks in advance,

Mike
15 years ago
Hello,

I have a java servlet, another java class & a jar file that needs to be accessible in a oracle application that is written using PL/SQL. Basically the servlet is going to be the only access point from the oracle application. Do I need to convert the servlet to a java stored proceedure? Is there any books or internet references that could help me accomplish the task?

Any help is much appreciated.

Thanks,

Mike
Excellent!!!

Thanks David.
15 years ago
Hi,

I'm using an ArrayList in a servlet. I want to purge all the existing values by using the removeAll(collection) method. If I'm trying to remove all the existing values in this list...why do I need to specify a collection as an arguement?

Thanks,

Mike
15 years ago
I'm supposed to send a header in hex format. I was given the following:

The header needs to be in HEX.

The "Chr" represent's a decimal value.

HEADER = Chr(85) & Chr(170) & Chr(0) & Chr(255)

If I prepend the hex value to my socket message, the hex value is FF00AA55.
Since hex is not a supported type in java, how should this be transmitted to their server using the Printwriter?

Thanks in advance.