Sunteți pe pagina 1din 1

Assignment 1 1.

Create a database table to store details of employees and display the information of those employees using Java Database Connectivity. Information use connection url : jdbc:oracle:thin:@172.16.4.121:1521:mirora Download the necessary driver for Oracle 9i 2. Write simple JSP page which will display the details of employee table which is created in Q1.The page will display the information of only one employee in a formatted way. There will be two buttons (one for previous record and second one for next record). e.g. Emp Id: 1001 Name: Jonny Prev Next

3. Design an Online Examination system. The system should provide 10 questions and 4 options for each question. Students can select only one option at the time of giving answer. There will be one submit button for automatically checking the answers and display the result. The Front End should be designed using JSP and the data should be stored in database in the back end. 4. Design a client-server application using Java RMI and thread technology according the following specification: The client application accepts a set of numbers from the user and sends them to the server. The server application, in turn, calculates the sum of those numbers and returns the result back to the client. Finally, client displays the sum of the numbers. 5. Evaluate the following series 1!+2!+3!++n! using Java RMI and thread technology. Note that evaluation of 1!, 2!, 3!, 4! etc. are independent (one does not depend on other) they can be calculated in parallel. Create 4 server applications (from main application) and distribute a number (from 1 to 4) to each server process. The server applications will in turn calculate the factorials of the numbers given in parallel and returned to the main application. The main application will in turn calculate the sum.

S-ar putea să vă placă și