Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

startng off and setting things up

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oops, I forgot to ask - what's ELB, Dave? Am I at all likely to need it?
Thanks,
Lucy
 
Ranch Hand
Posts: 171
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
I think he's gonna try to grab my monkey. Do we have a monkey outfit for this tiny ad?
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic