0
By:
NicheTech
http://www.nichetechinstitute.com/
© NicheTech Computer Solutions Pvt ltd
Introduction of Java Web
Developme...
Web Development
 The term Web development is used for several different
activities which are linked to the developing of ...
Types of server side web
development languages
 ASP (Active Server Page)
 PHP (Hypertext Preprocessor)
 Cold Fusion
 A...
What is Servlet
 A servlet is any Java class that can be invoked
and executed on a server, usually on behalf of a
client....
What is JSP?
 JSP (a TLA for Java Server Pages) is a server-
side implementation of the java language. Very
similar in st...
Java Database Connectivity Example
connectivityClaas.java
//Required import packages
import java.io.*;
import java.util.*;
import javax.sql.*;
import javax.s...
//class Nmae Declration
 public class connectivityClaas extends HttpServlet
 {
// connecting to database object
Connecti...
// displaying records
while(rs.next()){
out.println(“No::”);
out.println("ttt");
out.println(“ Name::“);
out.println("<br>...
Thanks
 Surendra Kunwar
 NicheTech Com Sol Pvt Ltd
 Our Sites
1) http://www.nichetechsolutions.com/
(Development)
2) ht...
Upcoming SlideShare
Loading in...5
×

Java Training Ahmedabad , Introduction of java web development

623

Published on

NicheTech is the best best offshore company in Ahmedabad .We are also providing Java Training Ahmedabad , Java Course Ahmedabad , Java Classes Ahmedabad . MCA students also can get live project training in NicheTech.

Website : http://www.nichetechsolutions.com/

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
623
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Java Training Ahmedabad , Introduction of java web development"

  1. 1. By: NicheTech http://www.nichetechinstitute.com/ © NicheTech Computer Solutions Pvt ltd Introduction of Java Web Development
  2. 2. Web Development  The term Web development is used for several different activities which are linked to the developing of a website especially for the WWW which is the World Wide Web or also called as an intranet.  The Web development strategies include the business of the e-commerce, the web designing, the web content development, the client and sever-side coding and also the configuration of the web server.  The web development can be branched into two main categories, the Client Side Coding and the Server Side Coding. The roles of a web developer generally include the Graphic and Web designing, information architecture and the copyediting with the usability of the web and the optimization of the search engine.
  3. 3. Types of server side web development languages  ASP (Active Server Page)  PHP (Hypertext Preprocessor)  Cold Fusion  ASP.NET  Servlet/Jsp
  4. 4. What is Servlet  A servlet is any Java class that can be invoked and executed on a server, usually on behalf of a client. A servlet works on the server, while an applet works on the client. An HTTP servlet is a Java class that handles an HTTP request and delivers an HTTP response. HTTP servlets reside on an HTTP server and must extend the Java javax.servlet.http.Http Servlet Class so that they can run in a generic servlet engine framework.
  5. 5. What is JSP?  JSP (a TLA for Java Server Pages) is a server- side implementation of the java language. Very similar in structure to ASP, it enables the developer to build dynamic websites and incorporate the flexibility of java, XML etc.  One of the most powerful features of JSP is that you can access JavaBeans and Enterprise JavaBeans (EJB) components from a JSP file.  JavaBeans can be class files, serialized Beans, Beans that are dynamically generated by a servlet, or a servlet itself. Each JSP is automatically compiled to a servlet by the JSP engine, the first time it is requested, and then executed
  6. 6. Java Database Connectivity Example
  7. 7. connectivityClaas.java //Required import packages import java.io.*; import java.util.*; import javax.sql.*; import javax.servlet.*; import javax.servlet. Http.*; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement;
  8. 8. //class Nmae Declration  public class connectivityClaas extends HttpServlet  { // connecting to database object Connection cn = null; Statement st = null; ResultSet rs = null; try { Class.forName("com.mysql.jdbc.Driver"); con =DriverManager.getConnection (“localhost/Testexample", "root","root"); stmt = con.createStatement(); rs = stmt.executeQuery("SELECT * FROM stud"); {
  9. 9. // displaying records while(rs.next()){ out.println(“No::”); out.println("ttt"); out.println(“ Name::“); out.println("<br>"); out.println(rs.getObject(1).toString()); out.println("ttt"); out.println(rs.getObject(2).toString()); out.println("<br>"); } } catch (Exception){} }
  10. 10. Thanks  Surendra Kunwar  NicheTech Com Sol Pvt Ltd  Our Sites 1) http://www.nichetechsolutions.com/ (Development) 2) http://www.nichetechinstitute.com/ (NicheTech Gurukul) 3) http://www.liveprojecttraining.in/ ( Live Project Training Details) 4) https://www.facebook.com/nichetechinstituteIndi a ( For Daily Updates)
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×