
March 21st, 2002, 03:26 PM
|
|
Junior Member
|
|
Join Date: Feb 2002
Location: Salford, UK
Posts: 0
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Does anybody else find server-side java a pain in the neck?
I did a site for a client in JSP and it took a lot longer than sites I did in PHP and coldfusion. Every little exception had to be caught and handled. I then went a step further and developed my own framework that was based on the controller-model-view model, with servlets, custom-tags and javabeans. Now I find my server account is suspended because the site is taking up too much processor time. I beginning to wonder is java worth it. Of all the server-side languages it seems to take the most effort. My attraction to the platform is the use of components and custom tags but I'm wondering should I leave the platform and go back to something simpler like PHP? On a related note, how fast is server-side Java? Because the code is compiled into byte-codes shouldn't it be faster than interpreted scripting languages? Also does garbage-collection encourage sloppy code for example using String when you should use StringBuffer?
Mark
|