• Post Reply Bookmark Topic Watch Topic
  • New Topic

startng off and setting things up  RSS feed

 
Lucy Smaile
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm starting a uni project in a few weeks to do with JSP and servelets etc. It's going to be a kind of e-commerce site.
My main worry is setting up all the software I need on my PC. I'm thinking of using mySQL, and I got that working at DOS prompt, but haven't managed to get JDBC to work yet (tried the tutorial on this site...)
What else do I need? Can you have Tomcat without a whole webserver, or do I need to install a server too? How hard is it going to be to configure, and are there any sites that really explain this step by step? Any books that deal with configuration issues fully?
Many thanks in advance!
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lucy

What are the problems you're having with JDBC and mySQL? Did you download a driver for mySQL to use with JDBC?
If you are running Tomcat you dont need anything else unless you are going to need ELB support. Check out these links for some Tomcat sites and alos dont forget we have a apache/tomcat forum here.
http://jakarta.apache.org/tomcat/index.html
http://www.moreservlets.com/Using-Tomcat-4.html
http://www.onjava.com
 
Lucy Smaile
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I posted my JDBC woes in the other forum - I failed to install mm.mysql properly. I hope this link works:
my question

Would it be best to just get Tomcat and try to do everything within that?
Thanks in advance!
 
Lucy Smaile
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops, I forgot to ask - what's ELB, Dave? Am I at all likely to need it?
Thanks,
Lucy
 
Geoffrey Falk
Ranch Hand
Posts: 171
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lucy, you can run Tomcat standalone without a webserver. You connect to it on port 8080. It is not intended to be used in production, however.
For a database, check out PostgreSQL (www.postgresql.org). IMHO it has much better SQL support than MySQL (which, last time I checked, would ignore important things like 'not null'!).
What is "ELB"? I think he means "EJB".
Geoffrey
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!