Example: biology

WEB TECHNOLOGIES LAB MANUAL FOR CSE & IT

WEB TECHNOLOGIES LAB MANUALP repared By:S. PHANI KUMAR, IT TECHNOLOGIESLAB MANUAL FORCSE & ITWEB TECHNOLOGIES LAB MANUALP repared By:S. PHANI KUMAR, IT NoContentsPage. No1 Lab Objective32 introduction About Lab43 Guidelines to Students64 List of Lab ExercisesSyllabus Programs (JNTU)76 Solutions for JNTU Programs9-74 WEB TECHNOLOGIES LAB MANUALP repared By:S. PHANI KUMAR, IT OBJECTIVE Overview Object Web TECHNOLOGIES Basic Concept ofWeb TECHNOLOGIES Advance Programming1) introduction to object oriented programming concepts- java as an objectorientedprogramming language. introduction to java application and applets-control )Object based and object oriented programming creating packages-using overloadedconstructors-static class variables-data abstraction and information hiding-relationbetween super class objects and subclass objects composition verses inheritance-polymorphism-dynamic method binding abstract super classes and concrete superclasses inheriting interface-use of inner classes and wrapper classes-String to kenizerand String Suffer )Role of object oriented programming in designing GUI Graphs and Java20overviewof swing-event

Introduction to java application and applets-control structures-methods-arrays. 2)Object based and object oriented programming creating packages-using overloaded constructors-static class variables-data abstraction and information hiding-relation between super class objects and subclass objects composition verses inheritance- ...

Tags:

  Introduction, Java

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of WEB TECHNOLOGIES LAB MANUAL FOR CSE & IT

1 WEB TECHNOLOGIES LAB MANUALP repared By:S. PHANI KUMAR, IT TECHNOLOGIESLAB MANUAL FORCSE & ITWEB TECHNOLOGIES LAB MANUALP repared By:S. PHANI KUMAR, IT NoContentsPage. No1 Lab Objective32 introduction About Lab43 Guidelines to Students64 List of Lab ExercisesSyllabus Programs (JNTU)76 Solutions for JNTU Programs9-74 WEB TECHNOLOGIES LAB MANUALP repared By:S. PHANI KUMAR, IT OBJECTIVE Overview Object Web TECHNOLOGIES Basic Concept ofWeb TECHNOLOGIES Advance Programming1) introduction to object oriented programming concepts- java as an objectorientedprogramming language. introduction to java application and applets-control )Object based and object oriented programming creating packages-using overloadedconstructors-static class variables-data abstraction and information hiding-relationbetween super class objects and subclass objects composition verses inheritance-polymorphism-dynamic method binding abstract super classes and concrete superclasses inheriting interface-use of inner classes and wrapper classes-String to kenizerand String Suffer )Role of object oriented programming in designing GUI Graphs and Java20overviewof swing-event handling, adapter classes and layout managers.

2 Advance GUIcomponents-JPopup Menus-JDesktopPane-advance )Exception handling and multithreading in object oriented programming-Whenexception handling should be used- java exception handling exceptions andinheritance-multithreading in java -thread synchronization-daemon threads Runnableinterface-Files and streams in java5)Network and Database handling through object oriented programming usingJOSC processing queries-overview of servlet introduction to networking establishing a simple server and a client introduction to RMI implementing theremote TECHNOLOGIES LAB MANUALP repared By:S. PHANI KUMAR, IT ABOUT LABT here are 66 systems (Compaq Presario) installed in this Lab. Theirconfigurations are as follows:Processor:DUAL GHzRAM:256 MBHard Disk:40 GBMouse:Optical MouseNetworkInterface card:PresentSoftware All systems are configured inDUAL BOOT mode , Students can boot from WindowsXP or Linux as per their lab is very useful for students because they are familiar with different OperatingSystems so that they can execute their programs in different programmingenvironments.

3 Each student has a separate login for database accessOracle 9i clientversion is installed in all systems. On the server, account for eachstudent has been is very useful because students can save their work ( scenarios , pl/sqlprograms, data related projects ,etc) in their own accounts. Each student work is safe andsecure from other students. Latest TECHNOLOGIES likeDOTNETandJ2 EEare installed in some submitting their final project, they can start doing mini project from 2ndyearonwards. MASM ( Macro Assembler )is installed in all the systemsStudents can execute their assembly language programs using MASM. MASM isvery useful students becausewhen they execute their programs they can seecontents of ProcessorRegistersand howeach instructionis being executed in TECHNOLOGIES LAB MANUALP repared By:S.

4 PHANI KUMAR, IT Rational Rose Software is installed in some systems. Using this software, studentscan depict UML diagrams of their projects. Softwares installed: C, C++, , MASM, OFFICE-XP, J2EE and DOTNET,Rational Rose. Systems are provided for students in the 1:1 ratio. Systems are assigned numbers and same system is allotted for students when they do TECHNOLOGIES LAB MANUALP repared By:S. PHANI KUMAR, IT to Students Equipment in the lab for the use of student community. Students need to maintain aproper decorum in the computer lab. Students must use the equipment with care. Anydamage is caused is punishable. Students are required to carrytheir observation / programs book with completed exerciseswhile entering the lab. Students are supposed to occupy the machines allotted to them and are not supposed totalk or make noise in the lab.

5 The allocation is put up on the lab notice board. Lab can be used in free time / lunch hours by the students who need to use the systemsshould take prior permission from the lab in-charge. Lab records need to be submitted on or before date of submission. Students are not supposed to use floppy disks Use of computer network is TECHNOLOGIES LAB MANUALP repared By:S. PHANI KUMAR, IT TECHNOLOGIES SyllabusPrograms (JNTU) , 2 Develop static pages (using only HTML) of an online Book store. Thepages should website should consist the following page, Registration and user Login, User profile page, Bookscatalog, Shopping cart, Payment By credit card, order , 4 Validate the registration, user login, userprofile and payment by creditcard pages using an XML file which will display the Book information whichincludes the following:1) Title of the book2) Author Name3) ISBN number4) Publisher name5) Edition6) PriceWrite a DocumentType Definition (DTD) to validate the above the XML file as contents should be displayed in a table.

6 The header of the tableshould be in color GREY. And the Author names column should bedisplayed in one color and should be capitalized and in bold. Use yourown colors for remaining columns. Use XML schemas XSL and CSSfor the above BEANS:Create a simple visual bean with a area filled with a shape ofthe area depends on the property shape. Ifit is set to true then the shapeof the area isSquare and it is Circle, if it is color of the areashould be changed dynamically for every mouse ) Install TOMCAT web installation assign port number8080. Make surethatthese ports are available , no other process isusing this ) Access the above developed static web pages for books web site,using these servers byPutting the web pages developed in week-1 andweek-2 in the document the pages by using the urls :http://localhost:8080/ TECHNOLOGIES LAB MANUALP repared By:S.

7 PHANI KUMAR, IT Authentication :Assume four users user1,user2,user3 and user4 having the passwordspwd1,pwd2,pwd3 And,pwd4respectively. Write a servelet for doingthe Create a Cookieand add these four user id s and passwords to Read the user id and passwords entered in the Login form (week1)and authenticatewith the values (user id and passwords ) available in he is a valid user( , user-name and password match) youshould welcome him byname(user-name) else you should display Youare not an authenticated user .9 Install a database(Mysql or Oracle).Create a table which should contain at least the following fields: name,password, email-id,phone number(these should hold the data from theregistration form).Practice 'JDBC' a java program/servlet/JSPto connect to that database and extract data from thetables and displaythem.

8 Experiment with various SQL the details of theusers who register with the web site, whenever a new user clicks thesubmit button in the registration page (week2).10 Write a JSP which does the following job:Insert the details of the 3 or 4 users who register with the web site(week9) by using registrationform. Authenticate the user when hesubmits the login form using the user name and passwordfrom TECHNOLOGIES LAB MANUALP repared By:S. PHANI KUMAR, IT , 2:AIM: Develop static pages (using only HTML) ofan online Book store. Thepagesshould resemble: The website should consistthe following pages. Home page Registration and user Login User profile page Books catalog Shopping cart Payment by credit card Order ConformationPROCEDURE: Home :<html> <head> <title>Amazon</title> </head> <body bgcolor="cyan"> <center> <strong> <h1>Welcome to AMAZON</h1> </strong> <form method="post" action=" " target=_blank > <h4>for books</h4> <input type="submit" value="click here"> </form> </center> </body> </html>WEB TECHNOLOGIES LAB MANUALP repared By:S.

9 PHANI KUMAR, IT Registration and user :<html> <head> <title>login page</title> </head> <body bgcolor="cyan"> <center> <strong> <h1> AMAZON </h1> </strong> </center> <right> <table align="right"> <tr> <td> <h4>user name</td> <td> <input type="text" > </td> <td> </td> </tr> <tr> <td> <h4>password</td> <td> <input type="password"> </td> <td> </td> </tr> <tr> <td> <form method="post" action=" " > <input type="submit" value="submit" > </form> </td> <td> <form method="post" action=" " > <input type="submit" value="register" > <input type="reset" value="reset"> </form> </td> </tr> </table> </body> </html>WEB TECHNOLOGIES LAB MANUALP repared By:S. PHANI KUMAR, IT User profile :<html> <head> <title>login page</title> </head> <body bgcolor="cyan"> <center> <strong> <h1> AMAZON </h1> </strong> </center> <form method="post" action=" " > <right> <table align="left"> <tr> <td> <h4>user name</td> <td> <input type="text" > </td> <tr> <tr> <td> <h4>password</td> <td> <input type="password"> </td> </tr> <tr> <td> <h4>confirm password</td> <td> <input type="password"> </td> </tr> <tr> <td> <h4>male <option > <input type="radio" name="sex" id="male"> </td> <td> <h4>female <input type="radio" name="sex" id="female" > </td> </option> </tr> <tr> <td>Address</td> <td> <textarea name="address" rows=5 cols=19> </textarea> </td> <tr> <td> <input type="submit" value="submit" > </td> <td> <input type="reset" value="reset"> </td> </tr>WEB TECHNOLOGIES LAB MANUALP repared By:S.

10 PHANI KUMAR, IT </form> </body> </html> Books :<html> <head> <title>books catalog</title> </head> <body bgcolor="cyan"> <center> <h1>AMAZON</h1> </center> <form method="post" action=" "> <left> <table> <tr> <td> <b> <h3>frontend books</td> <td> </td> </tr> <tr> <td> </td> <td> <h4>C&Ds</td> </tr> <tr> <td> </td> <td> <h4>Ads</td> </tr> <tr> <td> </td> <td> <h4> java </td> </tr> <tr> <td> <b> <h3>backend books</td> <td> </td> </tr> <tr> <td> </td> <td> <h4>Oracle</td> </tr> <tr> <td> </td> <td> <h4>Ms SQL Server</td> </tr> <tr>WEB TECHNOLOGIES LAB MANUALP repared By:S. PHANI KUMAR, IT <td> </td> <td> <h4>MySql </td> </tr> </table> </h4> <center> <b>for buy one of these books<br> </b> <input type="submit" value="click here"> </center> </form> </body> </html> :<html> <head> <title>shopping cart</title> </head> <body bgcolor="cyan"> <center> <h1>ShoppingCart</h1> </center> <br> <br> <br> <br> <br> <table align="center"> <tr> <td>Text Books</td> <td> <select > <optgroup label="select the book"> <option value="C&Ds">C&Ds<option value="Ads">Ads<option value=" java "> java <option value="Oracle">Oracle<option value="Ms SQL Server">Ms SQL Server<option value="MySql">MySql</optgroup> </select> </td> </tr> <tr> <td>Quantity</td> <td> <input type="text" id="q"> </td> </tr>WEB TECHNOLOGIES LAB MANUALP repared By:S.


Related search queries