Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 24th, 2003, 09:52 AM
Newdevas Newdevas is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 8 Newdevas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Newdevas
Unhappy Im afraid to develop a system in JSP

I have seen yesterday a system build entirely with JAVA and it runs veeeeery slow, i imagine that the project guy and the programers made a lot of mistakes but it scares me. Im studing java, jsp, servlets, beans for 5 weeks and i dont feel ready to begin the project im suposed to do, but thats ok, i knew since the beggining that JAVA isnt easy as others languages and will require a lot more of study. I have experience creating projects and programming in Progress. My project will be a system that already exists in progress, recreate him in a web version. The system will use more than 50 tables and a lot of screens, reports, a lot of users conected at the same time and im suposed to be the projectist cause i know the entire system very well. Im not under pressure from my bosses, they know it will take a very long time to be created and running but im afraid ive made a bad choice with JSP cause i have no experience with JAVA, i want to know what experienced guys think about this doubt.

Sorry about the long text

Reply With Quote
  #2  
Old April 24th, 2003, 10:10 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 7th Plane (8000 - 8499 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 8,073 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 4 Weeks 4 h 19 m 37 sec
Reputation Power: 281
Java is a good choice, definitely not for fast development, but excellent for robust, extendible and integrable systems.
Use a mix of jsp, servlets and beans for (a bit more) speed.
If you want a "quick and dirty" solution use php or asp.

Reply With Quote
  #3  
Old April 24th, 2003, 10:57 AM
Newdevas Newdevas is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 8 Newdevas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Newdevas
Thanx for the reply but maybe i didnt express myself well. My doubt is if is possible that somebody without experience in Java can lead a project like this and do it run fine. I know that this kind of system is viable with Java technologies but it can be a total failure if the job isnt well done.

Reply With Quote
  #4  
Old April 24th, 2003, 02:02 PM
Nemi Nemi is offline
Clueless llama
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Feb 2001
Location: Lincoln, NE. USA
Posts: 2,353 Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 12 h 35 m 19 sec
Reputation Power: 111
If you are unsure whether Java is the right choice based on your inexperience - well, that may or may not be. If you are an experienced OOP programmer but just don't know Java, you might be ok. If you are learning Java and Object oriented techniques at the same time, it is going to take you a while. This still does not mean it is the wrong choice, only that you need proper expectations. If you are NOT experienced in Object Oriented Programming then you would be well served to learn it.

Reply With Quote
  #5  
Old April 24th, 2003, 02:29 PM
Newdevas Newdevas is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 8 Newdevas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Newdevas
I feel better to hear that Nemi, thanx. I already know about OO but never implemented something OO. Well, i will continue with my studies in Java technologies more confident again.

Reply With Quote
  #6  
Old May 2nd, 2003, 10:44 AM
zapa zapa is offline
Mentat of IX
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Bucuresti / Toronto
Posts: 112 zapa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 sec
Reputation Power: 6
Send a message via ICQ to zapa
I would have had the same question a few weeks ago , i guess .
Time's running out though and it looks like i'll use jsp + openSSL 128 bit encription for the aplication i would have had the question for :P

well ... i'll let u know how slow it is :P

Reply With Quote
  #7  
Old May 17th, 2003, 07:53 AM
ngibsonau ngibsonau is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 138 ngibsonau User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I've worked on a large project using Java servlets without the help of JSP. JSP is just a special purpose set of servlets so I see no difference.

If you pick your algorithms correctly you shouldn't have a performance problem. We found that 99% of the time was spent accessing the database, not in the java code.

So make sure your database queries are optimised, and use binary sorts instead of bubble sorts, and hastables instead of linear searches and you should have no problem.

We ran and developed the application on a 486 machine before deploying it onto a multiprocessor server and we couldn't tell the difference. I think the only thing to watch is memory usage.
__________________
--

ngibsonau

Reply With Quote
  #8  
Old May 19th, 2003, 04:57 PM
jaffadan jaffadan is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 13 jaffadan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You should do a little bit of research before you begin your project. Build a complicated system purely out of JSP would be insane. But if you use a framework, use MVC (Model/View/Controller) you should be able to build a robust system pretty quickly.l

I would suggest that you build your application using a framework called Struts. Or Turbine both of these are free frameworks that will allow you to quickly develop your application.

And to make your application even easier to build use Object/Relational mapping tool

Dan Jaffa

Reply With Quote
  #9  
Old May 19th, 2003, 06:49 PM
zapa zapa is offline
Mentat of IX
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Bucuresti / Toronto
Posts: 112 zapa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 sec
Reputation Power: 6
Send a message via ICQ to zapa
I've started the development on the application i need to build and so far I've decided on using JSP + JavaScript ( for the GUI ) and javaBeans to handle the database interaction .

I hope this takes me into the right direction . I've also picked up a Jakarta Struts book , to learn some more on it , since it seems to be a good ideea

Reply With Quote
  #10  
Old May 28th, 2003, 11:58 AM
zapa zapa is offline
Mentat of IX
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Bucuresti / Toronto
Posts: 112 zapa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 sec
Reputation Power: 6
Send a message via ICQ to zapa
so far so good , we're half way through the application , the postgres DB it's still not fully optimised however the online Java application works faster than the local crappy Access + VB app that we're redesigning

Reply With Quote
  #11  
Old May 28th, 2003, 12:11 PM
jaffadan jaffadan is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 13 jaffadan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Are you using Struts or scriptletts in your code

Reply With Quote
  #12  
Old May 28th, 2003, 01:20 PM
zapa zapa is offline
Mentat of IX
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Bucuresti / Toronto
Posts: 112 zapa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 sec
Reputation Power: 6
Send a message via ICQ to zapa
we found that the application is too basic for that , and we're mostly following the Model 1 design pattern for this one .
Basically JSP + javascript pages calling javaBeans for database access and business logic .

I'm gonna take my time and really go in depth on J2EE practices before the next application I have to produce , but so far , this has been working surprisingly well and fast ( hope it stays that way heh )

Reply With Quote
  #13  
Old May 28th, 2003, 03:17 PM
jaffadan jaffadan is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 13 jaffadan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Well zapa, i hope you do not learn the hard way. But i have been on to many "basic appliations" to ever belive business users. Remember that you are not just coding for today but also for 2 years down the road. The Easier you make you app now, the better off you will be.

Reply With Quote
  #14  
Old May 28th, 2003, 03:34 PM
zapa zapa is offline
Mentat of IX
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Bucuresti / Toronto
Posts: 112 zapa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 sec
Reputation Power: 6
Send a message via ICQ to zapa
heh , thanks for the tip

Yea , I hope I don't learn the hard way myself , but for what it matters we've been taking all the precautions posible , and making the code as simple as posible with this model .

To be honest with you ( even thogh i'm sure it's allready obvious ) this is my first java App , and I think that it will also be the last one under Model 1 .

Reply With Quote
  #15  
Old June 10th, 2003, 04:46 PM
fetcher fetcher is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Portugal
Posts: 106 fetcher User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 11 m 33 sec
Reputation Power: 6
If you are in a windows platform forget java and make your web app in .net/c#. It will run much faster and you'll get it done in half the time

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > Im afraid to develop a system in JSP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump