Help with beginning Java web programming?

JAVA

    Sponsored Links

    Next

  • 1. CPU intensity: Comparison vs. Assignment
    Hi, I'm curious about which operation is most resource intensive (using JDK 1_5_05 running in server mode on a Linux x86 machine ), comparing two int values (int1 > int2) or assigning one int value to another (int1 = int2). The ints are both local variables in a private non-static method. Let me know if you know.
  • 2. how to make java application executable (exe)
    Hi all, I am a student. I have written an application in java and now want to make it double clickabe . I tried to create .jar file in eclipse following the help given in it but it did'nt work. The jar file gets created but its not executing by double clicking. instead I get a error saying "main class not found" . What might be the problem? Can anyone help me out? Is there any alternative way of doing the same?
  • 3. How to use an external class file in eclipse
    Hi everyone, I have a problem when I am working on my assignment under eclipse. In my assignment, I need an external class to do some tasks which is provided without source file. I can explor the class file in eclipse and there are some static methods and also a constructor within it, but I can't figure out how to import it to my project. Could someone please tell me how to use the class file? Thanks! Jaux
  • 4. I'm at my witt's end...
    I get this when I try to run the simplest program... Exception in thread "main" java.lang.NoClassDefFoundError: newp Here are my Windows XP Prof edition's sys variables. -------------------------------------------------------------- JAVA_HOME = C:\j2sdk1.4.2_11 PATH = C:\Perl\bin\;C:\j2sdk1.4.2_11\bin CLASSPATH = C:\Program Files\QuickTime\QTSystem\QTJava.zip;C:\j2sdk1.4.2_11\bin --------------------------------------------------------------- What else do I need to set? I did notice that in the Java Control Panel under JNLP Runtime Settings. The Product says that I'm running jre1.5.0_06\bin\javaw.exe Could this have something to do with it? Thank you. -ac

Help with beginning Java web programming?

Postby Jeffrey.Rodriguez@gmail.com » Wed, 19 Jan 2005 06:53:29 GMT

I'm interested in beginning Java web programming but I'm unsure as to
where to start and what I have read has only managed to confuse me.

First:
What should I learn if I want to develop a Java web application?

Second:
I've heard many names thrown around and need some help making sense
of it all. What is/are Jakarta, Struts, Tomcat, EJB/Hibernate, Ant,
JSP, Servelets and how do they relate to each other?

Third:
I've heard that JSP is for seperating presentation and application
logic, how do I process the form a user sends in? A 'Checkout' button
on a shopping cart would be a good example. Do I use JSP, a servelet,
other?


Re: Help with beginning Java web programming?

Postby Thanasis (sch) » Wed, 19 Jan 2005 07:07:52 GMT

i suggest to begin with book "Head First Java". It is perfect for newbies.









Re: Help with beginning Java web programming?

Postby Bob Kranson » Wed, 19 Jan 2005 13:31:54 GMT

> First:

Servlets.  JSP's translate to servlets at runtime.


Open Source projects

Model View Controller implementation to seperate logic, data, presentation; 
under an open source project....

Open source web server that includes java support

Enterprise Java Beans.  Middleware for java.  Design by contract by 
fulfilling the specification of EJB you wish to implement

Middleware approach different (understand to be easier than) EJB.
** Note: you must understand the concepts of a transaction to properly apply 
design and implement the above two acronymns

Another Tool for Make files, but greatly expanded with tasks for doing just 
about everything to build large/small application with a script

Java Server Pages which compile to servlets

Java which compiles at runtime and outputs HTML to the HTTP server port

In what you build surely available in volumes, volumes, and more volumes of 
internet and printed publication :-}

Learn Struts methodology!!

Good luck!








Re: Help with beginning Java web programming?

Postby Hal Rosser » Thu, 20 Jan 2005 08:05:57 GMT

Here are some good book that will get you started from square 1
First book is Beginning Java
 http://www.**--****.com/ 

someone else also mentioned "Head First Java" - its a good book as well.

And this book gets into JSP and Servlets:
 http://www.**--****.com/ 

Also, always use the tutorials and API documentation at
 http://www.**--****.com/ 

There are many good books and many online sources - this could get you
started.





Return to JAVA

 

Who is online

Users browsing this forum: No registered users and 85 guest