Solved

Design Questions on Getting Data from DB2 via Java, servlet , HTML

Posted on 2006-11-17
3
429 Views
Last Modified: 2008-02-01
Hi ,

I am learning  Java , servlet etc.  What I am trying to do is  to create an application that will

1-  prompt the customer to enter some account number
2.  Connect to DB2
3.  retrivew some data based on the  account number from DB2
4. Display the result to the customer back via webpage


Is this hard to do? . I  know C +++  but not java.  Do you think I can learn Java easily to do this ... I am just trying to learn her...  If you have some code  similar to this application ,  please let me know....


Best Regards,
Kassa
0
Comment
Question by:Raeykassa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Accepted Solution

by:
Netwing earned 250 total points
ID: 17971062
Should not be that hard. But i think the guys in the Java->JSP section can help more then here at client side scripting with java script ;-)
0
 
LVL 10

Assisted Solution

by:ADSLMark
ADSLMark earned 250 total points
ID: 17972741
Do-able.

- Look up some stuff about servlets (http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/).
- Setup servlet environment.
- Take the most basic example.
- Add the database stuff.
- Run the servlet and done.

Basically the setup of the servlets is a bit difficult, but there is enough information to help you. The java code should be fairly easy, just use jdbc for the connection to the database (i think that's possible, right?) and then make some queries.
You can use JSP for the user interface to ask the account number, request is sent to your servlet and this processes the request with communication to the database, return the output and the another (or the same) JSP page can show it to the user.

Good luck.
Mark
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DataTable column sorting incorrectly 2 36
How do I split a variable to newline 2 44
Javascript: Range object 16 33
display data from multiple ajax calls 9 40
In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at the …
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question