Anda di halaman 1dari 29

TRANING SEMINAR On

EVENTDEKHO.COM
PERSENTED BY: VAIBHAV RASTOGI 09EYTIT057

COMPANY PROFILE

Girnar Technologies Established in 2007.It Provides Services And Training Programs in IT Sector. The Institute offers program on both graduate and undergraduate levels. The program has emerged as a result of the relentlessly growing demand for professionals with expertise in Information Technology To provide state-of-the-art professional education and with a strong customer focus to our workforce, in order to usher in an Information Culture and Technology Revolution in the Country
2

OBJECTIVE

Create a online web application which provides resources to organize Events. Organizing events as soon as possible according to the users choice and budget . All the work is done through the internet it save the time and money also.

JAVA EE
Java EE is Oracle's enterprise Java computing platform. The platform provides an API and runtime environment for developing and running enterprise software, including network and web services, and other large-scale, multi-tiered, scalable, reliable, and secure network applications.

Software for Java EE is primarily developed in the Java programming language and uses XML for configuration..
Java EE for components. These include Enterprise JavaBeans, Connectors, servlets, JavaServer Pages and several web service technologies. This allows developers to create enterprise applications that are portable and scalable, and that integrate with legacy technologies.

USED SOFTWARES
Eclipse

Apache Tomcat

Front End
JSP JAVA SERVLET JAVA BEANS(POJO)

BACK END
MY SQL

Web-based applications
Application server functions: Receive HTTP request Look up and connect to database. Send query to database and obtain Result Set Construct HTTP response

Client

Application server

Normally, a web page that includes data from the Result Set.

Database

The Servlet Environment


Container

HTTP request
HttpServletRequest

Browser
HttpServletResponse

Servlet

HTTP response, containing HTML

Application server

DB
7

At its most abstract, a Java Servlet is a Java class that can be

Servlets

embedded in a some general-purpose server program.


Although servlets are supposedly deployable in various kinds

of servers (HTTP, Databases, FTP, ?), we will only be interested in HTTP servlets, embedded in Web servers.
Most commonly a servlet is responsible for handling HTTP

GET or POST requests, directed at a particular URL.

Cookies
If a browser receives an HTTP response including a

Set-Cookie header (and is willing to take the cookie) it stores the information in the header. This information can either be stored in the memory of the browser process (session cookie) or saved to disk. Whenever a browser constructs an HTTP request for a server, it checks whether it is storing any cookies it previously received from the server. If so, it returns the cookie information in a Cookie header attached to the new request.
9

Uses of Cookies
1.

Recognizing a regular customer

A persistent cookie can save some identification information for a particular customer. The stored information could be actual name or details, but more likely some opaque key into a database on the server.

2.

Session Tracking

Within a single dialog with a site, session cookies can be used as the underlying mechanism for session tracking.

The first application is limited, because many people configure their browsers to reject cookies, regarding them as an intrusion of privacy. But nearly everybody will accept session cookies (you have to work quite hard to make Internet Explorer reject session cookies).
10

What is a JSP Page?


According to the JavaServer Pages Specification:
A JSP page is a text-based document that describes how to

process a request to create a response. The description intermixes template data with some dynamic actions.

JSP deliberately supports multiple paradigms for authoring

dynamic content.
These include Scriptlets, JavaBeans and Tag Libraries.

11

Translating and Executing JSP Pages


A JSP page is executed in a JSP container, generally

installed in a Web server.


The underlying semantic model is that of a servlet. A JSP container will translate the JSP page to a Java servlet. By default, translation and compilation of a JSP page

is likely to occur the first time it is accessed.


With Tomcat 5, you can find the generated Java and the

class files in a subdirectory under the folder Tomcat 5.0\work\ .


12

HIBERNATE
Hibernate is an object-relational mapping (ORM) library for the Java language, providing a framework for mapping an object-oriented domain model to a traditional relational database.
Hibernate's primary feature is mapping from Java classes to database tables (and from Java data types to SQL data types). Hibernate also provides data query and retrieval facilities.
13

Hibernate Query Language (HQL)


Hibernate provides an SQL inspired language called

Hibernate Query Language (HQL) which allows SQLlike queries to be written against Hibernate 's data objects.
HQL used OOP concept to create database.

14

SQL vs HQL
SQL use for query in Relational Data Base but HQL

use OOP concept to develop Database and it uses SQL concept Also HQL and SQL both fires the query in Database but In the case of HQL, the queries are in the form of objects that are translated to SQL queries in the target database

15

16

LOGIN

17

REGISTERETION

18

19

20

21

22

23

24

25

26

27

28

QUERY ?

29

Anda mungkin juga menyukai