Results 1 to 2 of 2

Thread: Programming using java, javascript, frontpage

  1. #1
    Junior Member
    Join Date
    Nov 2007
    Answers
    1

    Programming using java, javascript, frontpage

    I am new to Java programming and wanted to know the following...
    I want to create the front end using Frontpage as its cleaner and easier to do. I want to do the form validation using Javascript and send the data to the server to be stored in a database using JDBC. I am not sure how to do this and what needs to be done...How is it done in live or in actual project scenario...If you can please point me in the right direction I would really be grateful.


  2. #2
    Contributing Member
    Join Date
    Sep 2006
    Answers
    42

    Re: Programming using java, javascript, frontpage

    Hi Patkar456,
    From what you are saying what I understand is
    1. You will need an Html file that will be your front end.
    2. This HTML file will contain the Javascript.
    3. On the submit action you will be calling a servlet that will take the data from the HTML file and store this in the DB.

    Go through any book that provides a reference of servlet programming in Java. It will basically tell you everything you want.

    The above way is one of the simplest and the most basic ways of doing it.
    Further on you could replace the HTML with a JSP and also use the MVC(Model-View-Controller) pattern.

    Since live projects are much bigger they use frameworks such as Struts, EJB, Hibernate to do the same. They increase the initial complexity, but decrease the maintenance required.

    Regards,
    Sahil.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact