Conor S D'Arcy

Greenhorn
+ Follow
since Aug 24, 2010
Merit badge: grant badges
For More
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 Conor S D'Arcy

Thanks Budi for your fast response.
Hi Bear, you might be right. I was thinking of someone beginning Java but not beginning programming...if you knew a lot of, say, python or javascript but were new to Java and wanted to use (leverage) scripts you had already written in those languages through a very simple Java app, how would they go about it. Not a topic for a programming beginner, but possibly for someone beginning Java.

Best Regards,
Conor
12 years ago
Hi Budi,
Welcome to the ranch! Does your book touch on hooking script languages into Java apps? I mean something like how to fire up a ScriptEngineManager for javascript .js and read a file, or some similar way of reading, say, a .py or groovy file? I need something very simple, say inside a public static void main block to get me started as a Java-scripting-support newbie!
Thanks very much,
Conor
12 years ago
Hi Anton,
Congratulations on your book! I see from the zeroturnaround.com site that the Oracle containers are supported, which come with the Sun/Oracle jdk and their own jRockit jvm. We use Weblogic's jRockit JVM...can JRebel assist with instant changes against that JVM too or is it specific to the Sun/Oracle ones?

Thanks & Good Luck!
Conor
Hi Chuck,
Welcome and congratulations on your book!
13 years ago
Congratulations Patrick, well done! You picked a great place to celebrate in - Berlin ist einfach klasse :beerchug: I celebrated in Kilkenny :)

Thanks for checking on the question Paul. I thought my copy had 1 & 3 marked...it could have been nervousness/lack of sleep at that stage.

Regards all,
Conor
Thanks Parth!

I hope Friday was a happy day for you Patrick!

Best Regards,
Conor
Hi all,
I got through yesterday with 89% Thanks all for your encouragement :wink:
Good luck tomorrow Patrick!
I got caught a bit on Java basics, e.g. in a Servlet where out is correctly declared


- would that print
x text is: null
or throw an NPE?
I simply couldn't remember in the exam - paralysis by analysis!

Take care & thanks again,
Conor
Thanks Parth and Ankit
- That was my typo, Enthuware has jsp:property rather than the jsp.property that I had typed. However, the original point still stands that answer 1 wouldn't compile... after reading your replies I'll award myself an extra % for that question :-)

Thanks again and Take care,
ConorD
Hi All,
I'll be giving the SCWCD a go tomorrow. I've got the enthuware mock exams and got this question and answers:
Identify two statements that are doing the same task.
1. <%= ticket.price %>
2. <%= ticket.getPrice() %>
3. <jsp.getProperty name="ticket" property="price" />
4. <% ticket.getPrice() %>
5. <%= ticket.getPrice(); %>

I chose 2 and 3, but the answer given is 1 and 3. I tried building a test page and option 1 wouldn't compile for me (albeit on Tomcat 6 rather than 5). Am I missing something at this late stage (gulp!) or is the answer given wrong?

Thanks very much,
ConorD

test jsp page:


test Ticket class