SlideShare a Scribd company logo
1 of 38
Download to read offline
Платформа Java и
IDE Netbeans 6.7 для
разработки
Enterprise (корпоративных)
и Web приложений

• Андрей Родионов
• Community manager
• Sun Microsystems
Перечень тем
• Двух- и трех– уровневая архитектура приложений
• Обзор Java платформы: Java SE, Java EE, Java ME
• IDE NetBeans как среда разработки разных типов
  приложений
• Возможности Java EE для построения трех(много)-
  уровневых приложений
• Glassfish Application Server - обзор, демонстрация работы
• Технологии для разработки Web-уровня
• Технологии для разработки бизнес-уровня
• Практика
  > Web service
  > Java persistence
  > EJB
«Drinkens, Who is this?»
3 Million People a Week Join the
Network!
Java SE, Java EE, Java ME
Java SE, Java EE, Java ME
NetBeans IDE 6.7 Features
• Java SE (Java Standard Edition)
• Web and Java EE (Java Enterprise Edition)
 > Web Applications
 > Java EE Applications
 > Web Services
• Mobility (Java Micro Edition)
• Ruby, JRuby, Ruby on Rails
• C and C++
• UML
• SOA, XSLT Designer, WSDL and XML
• JavaFX
• Project Kanai
Двух- и трех– уровневая архитектура
приложений
• Возможность использования
  различных языков
  программирования для различных
  компонентов
• Централизация компонентов
• Балансировка нагрузки
• Более эффективный доступ к
  данным
• Улучшенная защита
• Более простой доступ к внешним
  ресурсам
Java SE, Java EE, Java ME
Java Stadard Edition
Java Enterprise Edition
• Построена на Java Standard Edition (Java SE)
• Web Application Technologies
• Web Services Technologies
• Enterprise Application Technologies
• Management and Security Technologies

• Sun Java System Application Server (Glassfish)
Java EE для построения трех(много)-
уровневых приложений
Java EE Components

• Application clients and applets are components that
  run on the client
• Java Servlet, JavaServer Faces, and JavaServer
  Pages (JSP) technology components are web
  components that run on the server
• Enterprise JavaBeans (EJB) components
  (enterprise beans) are business components that
  run on the server
Java EE Clients

• Web Clients
  > dynamic web pages containing various types of
    markup language (HTML, XML, and so on), which are
    generated by web components running in the web tier
  > web browser, which renders the pages received from
    the server
• Applets
• Application Clients
• The JavaBeans Component Architecture
Java EE Server Communications
Web Components
• Java Servlet technology
• Java Server Pages (JSP)
• Java Server Faces (JSF)
Business Components &
Enterprise Information SystemTier
Архитектура API Java EE
Java EE 5 APIs
• Java ServletTechnology        • Java Architecture for XML
                                  Binding (JAXB)
• JavaServer PagesTechnology
                                • SOAP with Attachments API
• JavaServer Pages                for Java
  StandardTag Library
                                • Java API for XML Registries
• JavaServer Faces
                                • J2EE Connector
• Java Message Service API        Architecture
• JavaTransaction API           • Java Database Connectivity
• JavaMail API                    API
• JavaBeans Activation          • Java Persistence API
  Framework                     • Java Naming and Directory
• Java API for XML Processing     Interface
• Java API for XMLWeb           • Java Authentication and
  Services (JAX-WS)               Authorization Service
Типы Web-приложений

• Presentation-oriented
  > A presentation-oriented web application generates
   interactive web pages containing various types of
   markup language (HTML, XML, and so on) and
   dynamic content in response to requests.
• Service-oriented
  > A service-oriented web application implements the
   endpoint of a web service. Presentation-oriented
   applications are often clients of service-oriented web
   applications
Технологии для разработки Web-
уровня
• Java Servlet technology
• Java Server Pages (JSP)
• Java Server Faces
Java Servlet technology
• A servlet is a Java programming language class
Java Server Pages (JSP)
• JavaServer Pages (JSP) technology allows you to easily create web
  content that has both static and dynamic components
• A JSP page is a text document that contains two types of text: static
  data, which can be expressed in any text-based format (such as
  HTML, SVG,WML, and XML), and JSP elements, which construct
  dynamic content
Java Server Faces
• JavaServer Faces technology is a server-side user
  interface component framework for Java
  technology-based web applications
Технологии для разработки бизнес-
уровня
• Web Services
• Enterprise JavaBeans (EJB)
 > Session Bean (Stateful, Stateless)
 > Message-Driven Beans
• Java Persistence
Web Services
• Дает возможность удаленного вызова функций по
  протоколу HTTP
• Клиент и сервер могут базироваться на разных
  программных платформах
• Стандарт передачи данных SOAP (формат XML)
Enterprise JavaBeans (EJB)
• Written in the Java programming language, an
  enterprise bean is a server-side component that
  encapsulates the business logic of an application.
  The business logic is the code that fulfills the purpose
  of the application.
• Enterprise beans simplify the development of large,
  distributed applications
• Enterprise beans are portable components, the
  application assembler can build new applications
  from existing beans
When to Use Enterprise Beans?
• The application must be scalable. To accommodate
  a growing number of users, you may need to
  distribute an application’s components across
  multiple machines.
• Transactions must ensure data integrity. Enterprise
  beans support transactions, the mechanisms that
  manage the concurrent access of shared objects.
• The application will have a variety of clients. With
  only a few lines of code, remote clients can easily
  locate enterprise beans. These clients can be thin,
  various, and numerous.
Types of Enterprise Beans
Session Bean - a session bean represents a single
 client inside the Application Server. To access an
 application that is deployed on the server, the client
 invokes the session bean’s methods
  > Stateful
  > Stateless
• Message-Driven Beans - a message-driven bean is
  an enterprise bean that allows Java EE
  applications to process messages asynchronously.
  It normally acts as a JMS message listener, which
  is similar to an event listener except that it receives
  JMS messages instead of events.
Stateful session bean

• The bean’s state represents the interaction
  between the bean and a specific client.
• The bean needs to hold information about the client
  across method invocations.
• The bean mediates between the client and the
  other components of the application, presenting a
  simplified view to the client.
• Behind the scenes, the bean manages the work
  flow of several enterprise beans.
Stateless session bean

• The bean’s state has no data for a specific client.
• In a single method invocation, the bean performs a
  generic task for all clients. For example, you might
  use a stateless session bean to send an email that
  confirms an online order.
• A stateless session bean can implement a web
  service, but other types of enterprise beans cannot.
Message-Driven Beans
Session beans allow you to send JMS messages and to
 receive them synchronously, but not asynchronously.
 To avoid tying up server resources, do not to use
 blocking synchronous receives in a server-side
 component, and in general JMS messages should not
 be sent or received synchronously. To receive
 messages asynchronously, use a message-driven
 bean.
СПАСИБО!

Andrii.Rodionov@sun.com

http://blogs.sun.com/ntuu
http://osug.org.ua/

More Related Content

What's hot

WebSphere Application Server Family (Editions Comparison)
WebSphere Application Server Family (Editions Comparison)WebSphere Application Server Family (Editions Comparison)
WebSphere Application Server Family (Editions Comparison)ejlp12
 
Single page applications with backbone js
Single page applications with backbone jsSingle page applications with backbone js
Single page applications with backbone jsGil Fink
 
Websphere interview Questions
Websphere interview QuestionsWebsphere interview Questions
Websphere interview Questionsgummadi1
 
Ibm web sphere application server interview questions
Ibm web sphere application server interview questionsIbm web sphere application server interview questions
Ibm web sphere application server interview questionspraveen_guda
 
Single Page Apps
Single Page AppsSingle Page Apps
Single Page AppsGil Fink
 
SD Forum Java SIG - Service Oriented UI Architecture
SD Forum Java SIG - Service Oriented UI ArchitectureSD Forum Java SIG - Service Oriented UI Architecture
SD Forum Java SIG - Service Oriented UI ArchitectureJeff Haynie
 
IBM WebSphere Application Server version to version comparison
IBM WebSphere Application Server version to version comparisonIBM WebSphere Application Server version to version comparison
IBM WebSphere Application Server version to version comparisonejlp12
 
Back to the Basics - 1 - Introduction to Web Development
Back to the Basics - 1 - Introduction to Web DevelopmentBack to the Basics - 1 - Introduction to Web Development
Back to the Basics - 1 - Introduction to Web DevelopmentClint LaForest
 
Jsf login logout project
Jsf login logout projectJsf login logout project
Jsf login logout projectGagandeep Singh
 
Java Edge.2008.Web.Frameworks.Catagorized
Java Edge.2008.Web.Frameworks.CatagorizedJava Edge.2008.Web.Frameworks.Catagorized
Java Edge.2008.Web.Frameworks.Catagorizedroialdaag
 
Life above the_service_tier_v1.1
Life above the_service_tier_v1.1Life above the_service_tier_v1.1
Life above the_service_tier_v1.1Ganesh Prasad
 
oracle oa framework training | oracle oa framework training courses | oa fram...
oracle oa framework training | oracle oa framework training courses | oa fram...oracle oa framework training | oracle oa framework training courses | oa fram...
oracle oa framework training | oracle oa framework training courses | oa fram...Nancy Thomas
 
Oracle Alta UI Patterns for Enterprise Applications and Responsive UI Support
Oracle Alta UI Patterns for Enterprise Applications and Responsive UI SupportOracle Alta UI Patterns for Enterprise Applications and Responsive UI Support
Oracle Alta UI Patterns for Enterprise Applications and Responsive UI Supportandrejusb
 
Client side vs server side
Client side vs server sideClient side vs server side
Client side vs server sideabgjim96
 

What's hot (18)

WebSphere Application Server Family (Editions Comparison)
WebSphere Application Server Family (Editions Comparison)WebSphere Application Server Family (Editions Comparison)
WebSphere Application Server Family (Editions Comparison)
 
Single page applications with backbone js
Single page applications with backbone jsSingle page applications with backbone js
Single page applications with backbone js
 
Websphere interview Questions
Websphere interview QuestionsWebsphere interview Questions
Websphere interview Questions
 
Ibm web sphere application server interview questions
Ibm web sphere application server interview questionsIbm web sphere application server interview questions
Ibm web sphere application server interview questions
 
Single Page Apps
Single Page AppsSingle Page Apps
Single Page Apps
 
SD Forum Java SIG - Service Oriented UI Architecture
SD Forum Java SIG - Service Oriented UI ArchitectureSD Forum Java SIG - Service Oriented UI Architecture
SD Forum Java SIG - Service Oriented UI Architecture
 
IBM WebSphere Application Server version to version comparison
IBM WebSphere Application Server version to version comparisonIBM WebSphere Application Server version to version comparison
IBM WebSphere Application Server version to version comparison
 
Back to the Basics - 1 - Introduction to Web Development
Back to the Basics - 1 - Introduction to Web DevelopmentBack to the Basics - 1 - Introduction to Web Development
Back to the Basics - 1 - Introduction to Web Development
 
IBM WebSphere Portal
IBM WebSphere PortalIBM WebSphere Portal
IBM WebSphere Portal
 
Jsf login logout project
Jsf login logout projectJsf login logout project
Jsf login logout project
 
Java unit 14
Java unit 14Java unit 14
Java unit 14
 
Java Edge.2008.Web.Frameworks.Catagorized
Java Edge.2008.Web.Frameworks.CatagorizedJava Edge.2008.Web.Frameworks.Catagorized
Java Edge.2008.Web.Frameworks.Catagorized
 
Life above the_service_tier_v1.1
Life above the_service_tier_v1.1Life above the_service_tier_v1.1
Life above the_service_tier_v1.1
 
oracle oa framework training | oracle oa framework training courses | oa fram...
oracle oa framework training | oracle oa framework training courses | oa fram...oracle oa framework training | oracle oa framework training courses | oa fram...
oracle oa framework training | oracle oa framework training courses | oa fram...
 
Oracle application framework (oaf) online training
Oracle application framework (oaf) online trainingOracle application framework (oaf) online training
Oracle application framework (oaf) online training
 
Oracle Alta UI Patterns for Enterprise Applications and Responsive UI Support
Oracle Alta UI Patterns for Enterprise Applications and Responsive UI SupportOracle Alta UI Patterns for Enterprise Applications and Responsive UI Support
Oracle Alta UI Patterns for Enterprise Applications and Responsive UI Support
 
Client side vs server side
Client side vs server sideClient side vs server side
Client side vs server side
 
An Oracle ADF Introduction
An Oracle ADF IntroductionAn Oracle ADF Introduction
An Oracle ADF Introduction
 

Similar to Java Platform and IDE Netbeans 6.7 for Developing Enterprise and Web Applications

Web programming and development - Introduction
Web programming and development - IntroductionWeb programming and development - Introduction
Web programming and development - IntroductionJoel Briza
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music storeADEEBANADEEM
 
Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1sandeep54552
 
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
Lecture 19 - Dynamic Web - JAVA - Part 1.pptLecture 19 - Dynamic Web - JAVA - Part 1.ppt
Lecture 19 - Dynamic Web - JAVA - Part 1.pptKalsoomTahir2
 
Enterprise application developement
Enterprise application developementEnterprise application developement
Enterprise application developementArchana Jha
 
Lecture 19 dynamic web - java - part 1
Lecture 19   dynamic web - java - part 1Lecture 19   dynamic web - java - part 1
Lecture 19 dynamic web - java - part 1Д. Ганаа
 
Intorduction to struts
Intorduction to strutsIntorduction to struts
Intorduction to strutsAnup72
 
Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02kishore2526
 
Chapter 12:Understanding Server-Side Technologies
Chapter 12:Understanding Server-Side TechnologiesChapter 12:Understanding Server-Side Technologies
Chapter 12:Understanding Server-Side TechnologiesIt Academy
 
Java online training from hyderabad
Java online training from hyderabadJava online training from hyderabad
Java online training from hyderabadrevanthonline
 
Advance Java Topics (J2EE)
Advance Java Topics (J2EE)Advance Java Topics (J2EE)
Advance Java Topics (J2EE)slire
 
Java web developer tools
Java web developer toolsJava web developer tools
Java web developer toolsJhonthSmith
 

Similar to Java Platform and IDE Netbeans 6.7 for Developing Enterprise and Web Applications (20)

Web programming and development - Introduction
Web programming and development - IntroductionWeb programming and development - Introduction
Web programming and development - Introduction
 
Advance java1.1
Advance java1.1Advance java1.1
Advance java1.1
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music store
 
Devjyotippt
DevjyotipptDevjyotippt
Devjyotippt
 
Java EE 7 introduction
Java EE 7  introductionJava EE 7  introduction
Java EE 7 introduction
 
Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1
 
4. J2EE.pptx
4. J2EE.pptx4. J2EE.pptx
4. J2EE.pptx
 
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
Lecture 19 - Dynamic Web - JAVA - Part 1.pptLecture 19 - Dynamic Web - JAVA - Part 1.ppt
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
 
Enterprise application developement
Enterprise application developementEnterprise application developement
Enterprise application developement
 
Lecture 19 dynamic web - java - part 1
Lecture 19   dynamic web - java - part 1Lecture 19   dynamic web - java - part 1
Lecture 19 dynamic web - java - part 1
 
Intorduction to struts
Intorduction to strutsIntorduction to struts
Intorduction to struts
 
Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02Websphereinterview 100725022705-phpapp02
Websphereinterview 100725022705-phpapp02
 
Chapter 12:Understanding Server-Side Technologies
Chapter 12:Understanding Server-Side TechnologiesChapter 12:Understanding Server-Side Technologies
Chapter 12:Understanding Server-Side Technologies
 
AJppt.pptx
AJppt.pptxAJppt.pptx
AJppt.pptx
 
Java online training from hyderabad
Java online training from hyderabadJava online training from hyderabad
Java online training from hyderabad
 
Advance Java Topics (J2EE)
Advance Java Topics (J2EE)Advance Java Topics (J2EE)
Advance Java Topics (J2EE)
 
Resume
ResumeResume
Resume
 
Java web developer tools
Java web developer toolsJava web developer tools
Java web developer tools
 
Java part 3
Java part  3Java part  3
Java part 3
 
Weblogic application server
Weblogic application serverWeblogic application server
Weblogic application server
 

More from SSA KPI

Germany presentation
Germany presentationGermany presentation
Germany presentationSSA KPI
 
Grand challenges in energy
Grand challenges in energyGrand challenges in energy
Grand challenges in energySSA KPI
 
Engineering role in sustainability
Engineering role in sustainabilityEngineering role in sustainability
Engineering role in sustainabilitySSA KPI
 
Consensus and interaction on a long term strategy for sustainable development
Consensus and interaction on a long term strategy for sustainable developmentConsensus and interaction on a long term strategy for sustainable development
Consensus and interaction on a long term strategy for sustainable developmentSSA KPI
 
Competences in sustainability in engineering education
Competences in sustainability in engineering educationCompetences in sustainability in engineering education
Competences in sustainability in engineering educationSSA KPI
 
Introducatio SD for enginers
Introducatio SD for enginersIntroducatio SD for enginers
Introducatio SD for enginersSSA KPI
 
DAAD-10.11.2011
DAAD-10.11.2011DAAD-10.11.2011
DAAD-10.11.2011SSA KPI
 
Talking with money
Talking with moneyTalking with money
Talking with moneySSA KPI
 
'Green' startup investment
'Green' startup investment'Green' startup investment
'Green' startup investmentSSA KPI
 
From Huygens odd sympathy to the energy Huygens' extraction from the sea waves
From Huygens odd sympathy to the energy Huygens' extraction from the sea wavesFrom Huygens odd sympathy to the energy Huygens' extraction from the sea waves
From Huygens odd sympathy to the energy Huygens' extraction from the sea wavesSSA KPI
 
Dynamics of dice games
Dynamics of dice gamesDynamics of dice games
Dynamics of dice gamesSSA KPI
 
Energy Security Costs
Energy Security CostsEnergy Security Costs
Energy Security CostsSSA KPI
 
Naturally Occurring Radioactivity (NOR) in natural and anthropic environments
Naturally Occurring Radioactivity (NOR) in natural and anthropic environmentsNaturally Occurring Radioactivity (NOR) in natural and anthropic environments
Naturally Occurring Radioactivity (NOR) in natural and anthropic environmentsSSA KPI
 
Advanced energy technology for sustainable development. Part 5
Advanced energy technology for sustainable development. Part 5Advanced energy technology for sustainable development. Part 5
Advanced energy technology for sustainable development. Part 5SSA KPI
 
Advanced energy technology for sustainable development. Part 4
Advanced energy technology for sustainable development. Part 4Advanced energy technology for sustainable development. Part 4
Advanced energy technology for sustainable development. Part 4SSA KPI
 
Advanced energy technology for sustainable development. Part 3
Advanced energy technology for sustainable development. Part 3Advanced energy technology for sustainable development. Part 3
Advanced energy technology for sustainable development. Part 3SSA KPI
 
Advanced energy technology for sustainable development. Part 2
Advanced energy technology for sustainable development. Part 2Advanced energy technology for sustainable development. Part 2
Advanced energy technology for sustainable development. Part 2SSA KPI
 
Advanced energy technology for sustainable development. Part 1
Advanced energy technology for sustainable development. Part 1Advanced energy technology for sustainable development. Part 1
Advanced energy technology for sustainable development. Part 1SSA KPI
 
Fluorescent proteins in current biology
Fluorescent proteins in current biologyFluorescent proteins in current biology
Fluorescent proteins in current biologySSA KPI
 
Neurotransmitter systems of the brain and their functions
Neurotransmitter systems of the brain and their functionsNeurotransmitter systems of the brain and their functions
Neurotransmitter systems of the brain and their functionsSSA KPI
 

More from SSA KPI (20)

Germany presentation
Germany presentationGermany presentation
Germany presentation
 
Grand challenges in energy
Grand challenges in energyGrand challenges in energy
Grand challenges in energy
 
Engineering role in sustainability
Engineering role in sustainabilityEngineering role in sustainability
Engineering role in sustainability
 
Consensus and interaction on a long term strategy for sustainable development
Consensus and interaction on a long term strategy for sustainable developmentConsensus and interaction on a long term strategy for sustainable development
Consensus and interaction on a long term strategy for sustainable development
 
Competences in sustainability in engineering education
Competences in sustainability in engineering educationCompetences in sustainability in engineering education
Competences in sustainability in engineering education
 
Introducatio SD for enginers
Introducatio SD for enginersIntroducatio SD for enginers
Introducatio SD for enginers
 
DAAD-10.11.2011
DAAD-10.11.2011DAAD-10.11.2011
DAAD-10.11.2011
 
Talking with money
Talking with moneyTalking with money
Talking with money
 
'Green' startup investment
'Green' startup investment'Green' startup investment
'Green' startup investment
 
From Huygens odd sympathy to the energy Huygens' extraction from the sea waves
From Huygens odd sympathy to the energy Huygens' extraction from the sea wavesFrom Huygens odd sympathy to the energy Huygens' extraction from the sea waves
From Huygens odd sympathy to the energy Huygens' extraction from the sea waves
 
Dynamics of dice games
Dynamics of dice gamesDynamics of dice games
Dynamics of dice games
 
Energy Security Costs
Energy Security CostsEnergy Security Costs
Energy Security Costs
 
Naturally Occurring Radioactivity (NOR) in natural and anthropic environments
Naturally Occurring Radioactivity (NOR) in natural and anthropic environmentsNaturally Occurring Radioactivity (NOR) in natural and anthropic environments
Naturally Occurring Radioactivity (NOR) in natural and anthropic environments
 
Advanced energy technology for sustainable development. Part 5
Advanced energy technology for sustainable development. Part 5Advanced energy technology for sustainable development. Part 5
Advanced energy technology for sustainable development. Part 5
 
Advanced energy technology for sustainable development. Part 4
Advanced energy technology for sustainable development. Part 4Advanced energy technology for sustainable development. Part 4
Advanced energy technology for sustainable development. Part 4
 
Advanced energy technology for sustainable development. Part 3
Advanced energy technology for sustainable development. Part 3Advanced energy technology for sustainable development. Part 3
Advanced energy technology for sustainable development. Part 3
 
Advanced energy technology for sustainable development. Part 2
Advanced energy technology for sustainable development. Part 2Advanced energy technology for sustainable development. Part 2
Advanced energy technology for sustainable development. Part 2
 
Advanced energy technology for sustainable development. Part 1
Advanced energy technology for sustainable development. Part 1Advanced energy technology for sustainable development. Part 1
Advanced energy technology for sustainable development. Part 1
 
Fluorescent proteins in current biology
Fluorescent proteins in current biologyFluorescent proteins in current biology
Fluorescent proteins in current biology
 
Neurotransmitter systems of the brain and their functions
Neurotransmitter systems of the brain and their functionsNeurotransmitter systems of the brain and their functions
Neurotransmitter systems of the brain and their functions
 

Recently uploaded

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 

Recently uploaded (20)

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 

Java Platform and IDE Netbeans 6.7 for Developing Enterprise and Web Applications

  • 1. Платформа Java и IDE Netbeans 6.7 для разработки Enterprise (корпоративных) и Web приложений • Андрей Родионов • Community manager • Sun Microsystems
  • 2. Перечень тем • Двух- и трех– уровневая архитектура приложений • Обзор Java платформы: Java SE, Java EE, Java ME • IDE NetBeans как среда разработки разных типов приложений • Возможности Java EE для построения трех(много)- уровневых приложений • Glassfish Application Server - обзор, демонстрация работы • Технологии для разработки Web-уровня • Технологии для разработки бизнес-уровня • Практика > Web service > Java persistence > EJB
  • 4. 3 Million People a Week Join the Network!
  • 5. Java SE, Java EE, Java ME
  • 6. Java SE, Java EE, Java ME
  • 7. NetBeans IDE 6.7 Features • Java SE (Java Standard Edition) • Web and Java EE (Java Enterprise Edition) > Web Applications > Java EE Applications > Web Services • Mobility (Java Micro Edition) • Ruby, JRuby, Ruby on Rails • C and C++ • UML • SOA, XSLT Designer, WSDL and XML • JavaFX • Project Kanai
  • 8. Двух- и трех– уровневая архитектура приложений • Возможность использования различных языков программирования для различных компонентов • Централизация компонентов • Балансировка нагрузки • Более эффективный доступ к данным • Улучшенная защита • Более простой доступ к внешним ресурсам
  • 9. Java SE, Java EE, Java ME
  • 11. Java Enterprise Edition • Построена на Java Standard Edition (Java SE) • Web Application Technologies • Web Services Technologies • Enterprise Application Technologies • Management and Security Technologies • Sun Java System Application Server (Glassfish)
  • 12. Java EE для построения трех(много)- уровневых приложений
  • 13. Java EE Components • Application clients and applets are components that run on the client • Java Servlet, JavaServer Faces, and JavaServer Pages (JSP) technology components are web components that run on the server • Enterprise JavaBeans (EJB) components (enterprise beans) are business components that run on the server
  • 14. Java EE Clients • Web Clients > dynamic web pages containing various types of markup language (HTML, XML, and so on), which are generated by web components running in the web tier > web browser, which renders the pages received from the server • Applets • Application Clients • The JavaBeans Component Architecture
  • 15. Java EE Server Communications
  • 16. Web Components • Java Servlet technology • Java Server Pages (JSP) • Java Server Faces (JSF)
  • 17. Business Components & Enterprise Information SystemTier
  • 19. Java EE 5 APIs • Java ServletTechnology • Java Architecture for XML Binding (JAXB) • JavaServer PagesTechnology • SOAP with Attachments API • JavaServer Pages for Java StandardTag Library • Java API for XML Registries • JavaServer Faces • J2EE Connector • Java Message Service API Architecture • JavaTransaction API • Java Database Connectivity • JavaMail API API • JavaBeans Activation • Java Persistence API Framework • Java Naming and Directory • Java API for XML Processing Interface • Java API for XMLWeb • Java Authentication and Services (JAX-WS) Authorization Service
  • 20. Типы Web-приложений • Presentation-oriented > A presentation-oriented web application generates interactive web pages containing various types of markup language (HTML, XML, and so on) and dynamic content in response to requests. • Service-oriented > A service-oriented web application implements the endpoint of a web service. Presentation-oriented applications are often clients of service-oriented web applications
  • 21.
  • 22. Технологии для разработки Web- уровня • Java Servlet technology • Java Server Pages (JSP) • Java Server Faces
  • 23. Java Servlet technology • A servlet is a Java programming language class
  • 24. Java Server Pages (JSP) • JavaServer Pages (JSP) technology allows you to easily create web content that has both static and dynamic components • A JSP page is a text document that contains two types of text: static data, which can be expressed in any text-based format (such as HTML, SVG,WML, and XML), and JSP elements, which construct dynamic content
  • 25.
  • 26. Java Server Faces • JavaServer Faces technology is a server-side user interface component framework for Java technology-based web applications
  • 27. Технологии для разработки бизнес- уровня • Web Services • Enterprise JavaBeans (EJB) > Session Bean (Stateful, Stateless) > Message-Driven Beans • Java Persistence
  • 28. Web Services • Дает возможность удаленного вызова функций по протоколу HTTP • Клиент и сервер могут базироваться на разных программных платформах • Стандарт передачи данных SOAP (формат XML)
  • 29.
  • 30.
  • 31.
  • 32. Enterprise JavaBeans (EJB) • Written in the Java programming language, an enterprise bean is a server-side component that encapsulates the business logic of an application. The business logic is the code that fulfills the purpose of the application. • Enterprise beans simplify the development of large, distributed applications • Enterprise beans are portable components, the application assembler can build new applications from existing beans
  • 33. When to Use Enterprise Beans? • The application must be scalable. To accommodate a growing number of users, you may need to distribute an application’s components across multiple machines. • Transactions must ensure data integrity. Enterprise beans support transactions, the mechanisms that manage the concurrent access of shared objects. • The application will have a variety of clients. With only a few lines of code, remote clients can easily locate enterprise beans. These clients can be thin, various, and numerous.
  • 34. Types of Enterprise Beans Session Bean - a session bean represents a single client inside the Application Server. To access an application that is deployed on the server, the client invokes the session bean’s methods > Stateful > Stateless • Message-Driven Beans - a message-driven bean is an enterprise bean that allows Java EE applications to process messages asynchronously. It normally acts as a JMS message listener, which is similar to an event listener except that it receives JMS messages instead of events.
  • 35. Stateful session bean • The bean’s state represents the interaction between the bean and a specific client. • The bean needs to hold information about the client across method invocations. • The bean mediates between the client and the other components of the application, presenting a simplified view to the client. • Behind the scenes, the bean manages the work flow of several enterprise beans.
  • 36. Stateless session bean • The bean’s state has no data for a specific client. • In a single method invocation, the bean performs a generic task for all clients. For example, you might use a stateless session bean to send an email that confirms an online order. • A stateless session bean can implement a web service, but other types of enterprise beans cannot.
  • 37. Message-Driven Beans Session beans allow you to send JMS messages and to receive them synchronously, but not asynchronously. To avoid tying up server resources, do not to use blocking synchronous receives in a server-side component, and in general JMS messages should not be sent or received synchronously. To receive messages asynchronously, use a message-driven bean.