Jimmy Blakely

Ranch Hand
+ Follow
since Jul 10, 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 Jimmy Blakely

thanx for the responses guys.
I'm going to leave all the pages as *.php.
Marc: At the risk of sounding like I'm advertising, I'm currently using Lunarpages and have to say they are awesome. My account is both PHP and JSP enabled. I'm making the main website mainly rely on PHP and am going to implement several web apps in Servlet/JSP.
The website is about 30% done.
However I do have one specific question about PHP. How do you concat strings?
For example: $var = "one" + " " + "two"
This is one of the very few questions I can't seem to answer relying on the net. I'm using a PHP script to auto-mail contact info from an HTML form.
Thanks in advance.
Still in beta: http://www.aegis-consulting.net/tmp/contact.php
I have a website that is currently mostly static pages, with only a small percentage actually employing PHP scripting.
For the sake of uniformity, and also to account for the possibility that I may be adding some PHP code to the other pages, I went ahead and gave all my pages .php extensions.
What I'm assuming will happen is that every page that gets requested will be passed onto the PHP parser, which will then notice that there is no scripting on the page and pass it along to the user.
My question is will this have a noticeable impact on the performance/speed of my website. And does this go against good practices.
My current website is composed about roughly two dozen pages and I expect moderate amounts of traffic (hopefully!).
Thanks
Jimmy
SCJP,SCWCD
This may be a long shot, but have you tried this:
src="../images/image.jpg"
My current webhost provides subdomaining, so I think I may test this out later.
I'm shocked nobody has mentioned The Shield yet.
A brutal, adultering, cop-killing, drug-dealing detective with a history of using excessive force and framing suspects..............AND HE'S THE MAIN CHARACTER.
What more can you ask for?
Add to that an amazing emsemble cast and a suspenseful story arc, and you have the best damn show I have ever seen by far.
BTW....Shield Season 2 starts this coming January.

NOTE:if you have no idea what I'm talking about, The Shield if an FX original drama series. Check out http://www.theshieldfans.com
18 years ago
....atleast according to the following article
http://www.fawcette.com/javapro/2002_06/magazine/features/salarysurvey/
"Go figure�in a year when the economy dragged, unemployment boomed, cutbacks reigned, and profits soured, Java programmers made more money than ever and worked less to earn it. No wonder they're a happy lot."

-- You've gotta be $hitting me!
18 years ago
I found the tutorials at OreillyNet to be very helpful when I first started out.

http://www.onjava.com/onjava/wireless/
18 years ago
Kon-grat-choo-lay-shuns!
Jimmy Blakely
SCJP, SCWCD, and SOB
congratulations!
Ditto on the Calloway book.
Muhammed & Pankaj:
For design patterns I primarily studied Ken's notes and Sun's tutorial (both can be found at the scwcd links page).
Basically, the mistake I made was that I only studied MVC, DAO, business delegate and value objects. I should have also glanced over the other pattens at Sun's website, including Session Facade and BiModal something. I would have been less crossed up when they appeared as multiple choices in the exam.
Nevertheless, the best way to study those design patterns is to read and reread them so that you understand what it does, under what circumstances are they needed, and the keywords associated with them.
Also, unrelated to design patterns, I found that building my own deployment descriptor from scratch was very useful for learning the web.xml elements.
Finally got that monkey off my back.
Been studying off and on the past couple months for this test, which I considered to be the obvious logical next step after completing the SCJP.
First off let me say that I am more than thrilled with my score. After consistently scoring 60 - 70 on JWebPlus, I went into the exam with a lot of uncertainty and was nervous as hell. I could have always pushed the test date back. But considering I already did that several times before today, I decided to draw the line here. Phew.....150 bones is a lot for a full-time college student, but it was well worth it.
My studying aides were:
Inside Servlets by Dustin Calloway <-- Good book for beginners in servlets and JSP
JWebPlus <---Excellent testing tool, I highly recommend it
Ken's Notes <---- absolute necessity
J2EE API Documentation <---- excellent reference tool
Tomcat 4.0 <----- best way to learn servlets/jsp/tags/beans is to develop them yourself
Allaire Kawa <----- cannot believe Allaire discontinued this excellent Java IDE
Sun's Tutorials on Design Patterns <--- though I hardly understood them
Javaranch and Saloon BBS community <--- going for suck up points
Off the top of my head, I remember there being around 5 questions on design patterns. Knowledge on DAO, MVC, Business Delegate and Value Object are a must. I remember the multiple chocies to these questions included a lot of design terminology I didn't recognize, including something to do with Facade. So I wouldn't limit myself to the design patterns mentioned above.
For custom tags, it is important to know valid return types for the methods of the tag handlers and what happens when returned. Also, and obviously, familiarize yourself with the tag library descriptor.
As far as javabeans are concerned, know the valid attributes (and combinations thereof) for useBean, getProperty, and setProperty. For example:
<jsp:useBean id="test" class="com.Test" beanName="com.Another" scope="application" /> ....would be invalid because the beanname and class attributes cannot coexist.
Really know your listeners. One of my questions involved identifying the single method of an event class passed to an object implementing one of the listener interfaces. How you like dem' apples?
Everything else is basically straightforward.
Know your web.xml elements, basic servlet api, servlet life cycle, jsp implicit objects, directive tags, and jsp actions.
All in all, Ken Zobrok's notes does an excellent job in weeding out what you need and don't need to concentrate on in your preparation for the exam.
If you have any questions, I'd be happy to answer them for you. Until then, good look on your respective exams.
Jimmy Blakely
Sun Certified Programmer for the Java 2 Platform
Sun Certified Web Component Developer for J2EE <--- I am so digging my new sig
Back when I was taking an Oracle class in college, I found OraFaq to be a handy resource, including tutorials, FAQ's (of course), and a large BBS community.
http://www.orafaq.com
[This message has been edited by Jimmy Blakely (edited January 02, 2002).]
18 years ago
In this forum, I constantly come across posts declaring how bad it is in the java sector of the IT labor market? That beckons the question....is it just as bad for people with other skill set?
Are entry level programmers/developers specializing in Oracle, C++, Unix, etc. having just as hard a time securing a career as we are?
Basically, I'm just wondering if the rest of the IT labor market is just as bad. Or perhaps, maybe Java is still a strong, viable skill set compared to all the other alternatives, which isn't saying much.
Thanks in advance,
Jimmy Blakely
Sun Certified Java Programmer
18 years ago
Am I correct in concluding that...

When a HttpServlet receives a request, the object's service(ServletRequest request, ServletResponse response) method is called (inherited from GenericServlet) and that method in turn calls the object's service(HttpServletRequest request, HttpServletResponse response) method.
In essence, the method would look like this...
public void service(ServletRequest request, ServletResponse response) throws IOException, ServletException
{
service((HttpServletRequest)request, (HttpServletRespose)response); // object casting
}
Am I on the right track?