login about faq

i'm an undergrad student, one of our project is to develop an inventory system, and our instructor would like it to be java-based, and the client wants a web-app.. what would you suggest to use?

asked Dec 12 '09 at 23:51

marci's gravatar image

marci
612

edited Dec 14 '09 at 10:49

AnGoL's gravatar image

AnGoL
1.3k318

1

This thread might help as well: http://nullpointer.ph/questions/387/which-java-technology-should-i-start-with-for-web-development

(Dec 14 '09 at 04:39) Randell ♦♦ Randell's gravatar image

If you're just starting out just use the basic stack:

  • Servlets for server side processing
  • JSPs for views (Best practice is you only use JSPs for presentation. Use servlets for business logic, persistence, etc. Look for "RequestDispatcher MVC")
  • JDBC with MySQL for persistence.
  • Tomcat

As for frameworks like Spring, Hibernate, etc, they are great to learn and use but I think you should start with the basics to understand why you need those frameworks and how to use them properly.

Finally, to get you started, grab a copy of HeadFirst Servlets and JSP.

link

answered Dec 23 '09 at 01:32

bobsantos's gravatar image

bobsantos
3665

You'd probably want to go with the 2nd edition:http://www.amazon.com/gp/product/0596516681?ie=UTF8&tag=unlikely-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0596516681 of HF Servlets and JSP book. It has been updated for JEE 5 (or in old speak J2EE 1.5).

(Feb 10 '10 at 09:25) paul_sns paul_sns's gravatar image

Your starting out and I guess this is just a class project.

Use Netbeans.

It has very good getting started tutorials. To get you up and running at no time.

just take a cue from datenshi's answer.

PS: I know Netbeans is an IDE, what I'm saying is that if you want to finish something fast and you don't know java/web development for java well, Netbeans has a lot of starter projects and very nice tutorials to help a newbie get by.

link

answered Dec 14 '09 at 05:30

AnGoL's gravatar image

AnGoL
1.3k318

Given that it's a class project means that you won't have time to study better technologies out there like Spring. But then again, it also means that you could get away with crappy vanilla JSP.

That said. you're pretty much limited to:

  • JSP - use it like you would use PHP (disclaimer: this practice is really bad outside this context :p)
  • HSQLDB or SQLite for the database
  • JPA or (cringe) JDBC to access the database
  • GlassFish or Tomcat as the server
link

answered Dec 13 '09 at 05:17

Bryan%20Bibat's gravatar image

Bryan Bibat
2.6k119

2

Derby also comes with Java 6 from the get go. I suggest they go full on with a production-ready database such as PostgreSQL or MySQL. Setup might be even simpler (both come with point and click installers and GUIs on Windows).

(Dec 14 '09 at 03:46) Alistair A. Israel Alistair%20A.%20Israel's gravatar image

Check out Grails:

  • Have your next Web 2.0 project done in weeks instead of months. Grails delivers a new age of Java web application productivity.
  • Get instant feedback, see instant results. Grails is the premier dynamic language web framework for the JVM.
  • Powered by Spring, Grails out performs the competition. Dynamic, agile web development without compromises.
link

answered Dec 13 '09 at 00:50

Erol's gravatar image

Erol
1.3k1416

4

Except, as a student, his instructor wants their app to be Java-based. Yes, Grails runs in the JVM but that means @marci and her team needs to learn two languages instead of one.

(Dec 13 '09 at 02:03) Alistair A. Israel Alistair%20A.%20Israel's gravatar image

Hmmmm, I seem to have overlooked that little bit of detail. I was thinking special projects level where they have a certain degree of freedom to choose the technology or platform. It only dawned on me now that the project could be for their Java-language class, which Marci can confirm for us.

(Dec 13 '09 at 03:47) Erol Erol's gravatar image

it's for my software engineering class, and sir marci is a boy :D(yeah that's me)

(Dec 15 '09 at 19:07) marci marci's gravatar image

Ooops, sorry about that.

(Dec 16 '09 at 07:02) Erol Erol's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×63
×16

Asked: Dec 12 '09 at 23:51

Seen: 713 times

Last updated: Dec 23 '09 at 01:32