Date post: | 27-May-2015 |
Category: |
Documents |
Upload: | kuldeep-khichar |
View: | 676 times |
Download: | 0 times |
PRESENTATIONON
Technical training at Road Ahead Technologies
By Kuldeep Khichar(7th Sem IT)
1
TOPICS ON WHICH I PURSUED MY TRANNING
JAVAJ2EE ->SERVLET ->JSP ->STRUTSONLINE EXAM PROJECT
2
• The Java platform has attracted more than 6.5 million software developers.
• Java technology's versatility, efficiency, platform portability, and security make it the ideal technology for network computing.
• From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
3
Why Java?It’s the current “hot” languageIt’s almost entirely object-orientedIt has a vast library of predefined objects and
operationsIt’s more platform independent
this makes it great for Web programmingIt’s more secureIt isn’t C++
Umesh Bellur
High-EndServer
Java Technology Enabled Desktop
WorkgroupServer
Java Technology Enabled Devices
Java Virtual MachineThe .class files generated by the compiler are
not executable binariesso Java combines compilation and
interpretationInstead, they contain “byte-codes” to be
executed by the Java Virtual Machineother languages have done this, e.g. UCSD
PascalThis approach provides platform
independence, and greater security
• Comments are almost like C++• Primitive data types are like C• Declarations look like C• Expressions are like C(Assignment statements ,
Arithmetic operators, Boolean operators, Comparisons operators
• JAVA does not have pointers or pointer arithmetic• Control statements are like C
but conditions must be boolean
7
• In C, almost everything is in functions• In Java, almost everything is in classes• There is often only one class per file• There must be only one public class per file• The file name must be the same as the name of that
public class, but with a .java extension
8
• Java is case-sensitive; maxval, maxVal, and MaxVal are three different names
• Class names begin with a capital letter• All other names begin with a lowercase letter• Subsequent words are capitalized: theBigOne• Underscores are not used in names• These are very strong conventions!
9
• Stands for “Java 2, Enterprise Edition”• It is a collection of standards
o JDBC, JNDI, JMX, JMS• It is a component technology
o Enterprise JavaBeans• It is an “application server”
o Following in the footsteps of Component Transaction Monitors
10
• High Availability• Security• Reliability• Scalability
…of Enterprise Information Services (EISs),…Usually in a multitier environment.
11
J2EE/ Session 3/Slide 12 of 49
Various models of architecture
Client-ServerClient-ServerClient-ServerClient-Server
Traditional n-Tier
Component-based n-TierComponent-based n-Tier
LayeredLayered
Which architecture would suit which scenario??
Depends on
Distributed nature of applicationScalabilityPerformance
Memory Management
J2EE/ Session 3/Slide 13 of 49
Client-Server ArchitectureCLIENT SERVER
Business Logic
Presentation Logic
Application
Data
Clear division between Application and Data
Entire processing load on client Server acts as traffic controller
2-Tier Architecture2-Tier Architecture
J2EE/ Session 3/Slide 14 of 49
PresentationLogic
BusinessLogic
DATA
CLIENT TIERMIDDLE TIER/
APPLICATION TIER DATA/EIS TIER
Receives request for data, retrieves it, and returns it to client
J2EE/ Session 3/Slide 15 of 49
Browser
Firewall
Application Logic= Presentation logic + Business Logic(No physical demarcation between the two)
Infrastructure services provide additional functionalities required by application, such as messaging services and transactional services.
J2EE/ Session 3/Slide 16 of 49
Component A
Component B
Component C
Database
MIDDLEWARE
Presentation
LayerBusiness L
ogic
Layer
Database
Middleware
Layer
Database
Layer
JDBC-ODBC Bridge, perhaps
• Java Servlet technology provides Web developers with a simple, consistent mechanism for extending the functionality of a Web server and for accessing existing business systems.
• A servlet can almost be thought of as an applet that runs on the server side--without a face.
• Java servlets make many Web applications possible.
• Servlet can process data which was POSTed over HTTPS using an HTML FORM, say, an order-entry, and applying the business logic used to update a company's order database.
17
Hierarchy :
Servlet
HttpServlet|GenericServlet
MyServlet
Umesh Bellur
What is JSP Technology?Enables separation of business logic from
presentationPresentation is in the form of HTML or
XML/XSLTBusiness logic is implemented as Java
Beans or custom tagsBetter maintainability, reusability
Extensible via custom tagsBuilds on Servlet technology
• Apache Tomcat is developed in an open environment and released under the Apache Software License.
• Apache Tomcat is an open source software implementation of the Java Servlet and Java Server pages technologies.
• Apache Tomcat is planned to be a collaboration of the best-of-breed developers from around the world.
Fraud Management System
• Apache Tomcat is developed in an open environment and released under the Apache Software License.
• Apache Tomcat is an open source software implementation of the Java Servlet and Java Server pages technologies.
• Apache Tomcat is planned to be a collaboration of the best-of-breed developers from around the world.
Fraud Management System
22
ServersA server is a computer that responds to requests
from a clientTypical requests: provide a web page, upload or
download a file, send email
A server is also the software that responds to these requests; a client could be the browser or other software making these requests
Typically, your little computer is the client, and someone else’s big computer is the serverHowever, any computer can be a server It is not unusual to have server software and client
software running on the same computer
23
ApacheApache is a very popular server
66% of the web sites on the Internet use ApacheApache is:
Full-featured and extensibleEfficientRobustSecure (at least, more secure than other servers)Up to date with current standardsOpen sourceFree
Why use anything else?
• OPERATIONALo Simple and informative GUIo Easily employed on User & Client side of
application• TECHNICAL
o Build on J2EE(Servlet & JSP) and ORACLE supported by win 7,XP,VISTA,etc• ECONOMIC
o Cost efficient o Consumes low memory space
• This project can be upgrade with the use of Struts Framework and use of ORACLE 11g as database to further improve security & reliability
• The next stage of development will be for the whole country
• It can be further upgraded according to the need of Public or Private Sector demands
• This Training has provided us the experience of working in a company environment
• Development of this Project not only provide the basic knowledge of tools utilized but also working with a PROJECT THINK APPROACH
….Thank you for your kind attention….
Queries ? ?
27