{"id":66421,"date":"2021-07-19T04:10:04","date_gmt":"2021-07-19T08:10:04","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/key-j2ee-components-basic-concepts-with-examples-java-short-notes\/"},"modified":"2021-07-19T04:10:04","modified_gmt":"2021-07-19T08:10:04","slug":"key-j2ee-components-basic-concepts-with-examples-java-short-notes","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=66421","title":{"rendered":"Key J2EE  Components : Basic Concepts with Examples #Java Short Notes"},"content":{"rendered":"<ul>\n<li> Java EE 5 (J2EE 5) uses XML deployment descriptors for the configuration of the web-applications and web-components. <\/li>\n<li> What Java EE provides? It provides the internal framework\/structure\/system level capability\/system-level infrastructure to support large enterprise level applications with features like distributed database, distributed computing , security, and transaction management. <\/li>\n<li> J2EE also provides specifications for Containers, Connectors, Interfaces, Communications among different components for enterprise applications <\/li>\n<li> J2EE is J2SE based, it supports all of J2SE <\/li>\n<li>J2EE in addition to Swing and AWT introduces JSF for user interface creations <\/li>\n<li> Sun provides the J2EE specifications and a reference implementation. Anyone can re-implement the complete specification. Hence, if you develop applications based on the core J2EE, it should be compatible across different vendors who later re-implemented J2EE.<\/li>\n<li> However, J2EE does not cover 100% of the requirements of all types of enterprise applications, hence vendors usually add values\/extra features to their implementations.<\/li>\n<li> J2EE provides multi-tier application development<\/li>\n<li><b>Elements of J2EE<\/b>\n<ul>\n<li> Clients: Fat Clients: A console application, and JFC, Swing, AWT based GUI applications. Thin clients: Browser based client applications <\/li>\n<li> Servers: Connect client components to the business logic. <\/li>\n<li> Server side components: Web-Components: JSPs, Servlets. Business components: EJBs. <\/li>\n<li>J2EE containers provide the support\/framework\/infrastructure for these server side components. Web Container contains JSPs\/Servlets. EJB Container contains EJBs<\/li>\n<\/ul>\n<\/li>\n<li> <b>Some concepts in J2EE<\/b> \n<ul>\n<li> Containers, JSF, JDBC, XML Support, Web-Services, Transaction Management, Security<\/li>\n<li> Servlet: Mostly for Processing\/calculations: From The clients, you can refer to a Servlet for example in HTML Form Actions. The Servlet runs in the server, does required processing and returns HTML web-page to the clients.<\/li>\n<li> JSP: Mostly for user interfaces, can also include processing using Java codes<\/li>\n<li> JSF: JSF is used to create rich user interfaces in conjunction with JSPs and Servlets.<\/li>\n<li> JSF provides API based server side user interface creation<\/li>\n<li> JDBC provides APIs to access relational databases. Enterprise applications very often will store information in databases. JDBC helps to access these information.<\/li>\n<li> EJBs evolved on RMI&#8217;s limitations to support enterprise applications. EJB components contain business logic.<\/li>\n<li> EJBs are of three types: entity beans, session beans, message beans<\/li>\n<\/ul>\n<\/li>\n<li><b>J2EE 5 XML Support Technologies<\/b><br \/> \n<ul>\n<li>JAXP: DOM based processing. SAX: Stream based processing    <\/li>\n<li> JAXB: Mapping between XML and Java classes    <\/li>\n<li> JAXR: XML Registries    <\/li>\n<li> JAXM for messaging    <\/li>\n<li> JAX-RPC: XML based RPC    <\/li>\n<li> JAXR, JAXM, and JAX-RPC: provide support for SOAP and web-services  <\/li>\n<\/ul>\n<\/li>\n<li> Web-services: Here functions\/operations are provided as web-based services. Others can call and make use of these services. Great for B2B communications and integrations.  <\/li>\n<li>Web-services: Related concepts: WSDL: Describes the services provided &#8211; Web Service Description Language. Service Registries such as ebXML, UDDI. JAXR API can access these registries. SOAP: The protocol for communications (web-services).<\/li>\n<li> Transaction Management: Java EE including EJBs provides transaction management support.<\/li>\n<li> J2EE also provides security supports such as role-based authorization, both declarative and programmatic securities.<\/li>\n<\/ul>\n<p> From: http:\/\/sitestree.com\/?p=4990<br \/> Categories:Java Short Notes<br \/>Tags:<br \/> Post Data:2011-02-12 03:58:54<\/p>\n<p>\t\tShop Online: <a href='https:\/\/www.ShopForSoul.com\/' target='new' rel=\"noopener\">https:\/\/www.ShopForSoul.com\/<\/a><br \/>\n\t\t(Big Data, Cloud, Security, Machine Learning): Courses: <a href='http:\/\/Training.SitesTree.com' target='new' rel=\"noopener\"> http:\/\/Training.SitesTree.com<\/a><br \/>\n\t\tIn Bengali: <a href='http:\/\/Bangla.SaLearningSchool.com' target='new' rel=\"noopener\">http:\/\/Bangla.SaLearningSchool.com<\/a><br \/>\n\t\t<a href='http:\/\/SitesTree.com' target='new' rel=\"noopener\">http:\/\/SitesTree.com<\/a><br \/>\n\t\t8112223 Canada Inc.\/JustEtc: <a href='http:\/\/JustEtc.net' target='new' rel=\"noopener\">http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) <\/a><br \/>\n\t\tShop Online: <a href='https:\/\/www.ShopForSoul.com'> https:\/\/www.ShopForSoul.com\/<\/a><br \/>\n\t\tMedium: <a href='https:\/\/medium.com\/@SayedAhmedCanada' target='new' rel=\"noopener\"> https:\/\/medium.com\/@SayedAhmedCanada <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Java EE 5 (J2EE 5) uses XML deployment descriptors for the configuration of the web-applications and web-components. What Java EE provides? It provides the internal framework\/structure\/system level capability\/system-level infrastructure to support large enterprise level applications with features like distributed database, distributed computing , security, and transaction management. J2EE also provides specifications for Containers, Connectors, Interfaces, &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=66421\">Continue reading<\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1917],"tags":[],"class_list":["post-66421","post","type-post","status-publish","format-standard","hentry","category-fromsitestree-com","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":66340,"url":"http:\/\/bangla.sitestree.com\/?p=66340","url_meta":{"origin":66421,"position":0},"title":"Core J2EE Component Technologies #Java Short Notes","author":"Author-Check- Article-or-Video","date":"July 18, 2021","format":false,"excerpt":"Core J2EE Component Technologies J2EE Application Components: Web Components, Business Components Web-Component: Software entity hosted by a web-container on a J2EE Server Generate user interface for web-based applications Two Types: Servlets, JSPs Servlets: Process requests dynamically, format responses JSPs: How to process requests, and format responses Business Components: EJB Components\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":67690,"url":"http:\/\/bangla.sitestree.com\/?p=67690","url_meta":{"origin":66421,"position":1},"title":"Basic Java But Essential Knowledge for exams like SCJA, or to the project managers new to Java technologies #Computer Game Design #Java Short Notes","author":"Author-Check- Article-or-Video","date":"July 27, 2021","format":false,"excerpt":"By definition an enumerated type is a finite set of symbolic literals In Java an enumerated type is represented as first-class object. Enumerated type literals are allowed in case statements. The literals of an enumerated type may be of any valid Java identifier An interface may NOT contain any concrete\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":66344,"url":"http:\/\/bangla.sitestree.com\/?p=66344","url_meta":{"origin":66421,"position":2},"title":"Creating Java Development Environment with Struts for Your Home PC #Java Short Notes","author":"Sayed","date":"July 18, 2021","format":false,"excerpt":"Creating Java Development Environment with Struts for Your Home PC.......................... Why Struts? Just take a look at the web-sites using Struts J2EE does not meet all the requirements for web-applications. Struts addresses these requirements. Check this article for details Components Required J2SE 5\/6 or J2EE 5 - both JRE and\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":66338,"url":"http:\/\/bangla.sitestree.com\/?p=66338","url_meta":{"origin":66421,"position":3},"title":"J2EE Architecture: J2EE Design Patterns: Related Concepts #Java Short Notes","author":"Author-Check- Article-or-Video","date":"July 18, 2021","format":false,"excerpt":"Design Patterns What are design patterns? Design patterns are specific\/(context-based) solutions\/approaches to address specific problems\/situations. Some problems are general\/open problems and very common problems in a particular type of applications. Design patterns can be created to solve such problems in a specific context and that can be re-used every time\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65920,"url":"http:\/\/bangla.sitestree.com\/?p=65920","url_meta":{"origin":66421,"position":4},"title":"What is Spring Framework? What does it mean to J2EE developers #Java Short Notes","author":"Author-Check- Article-or-Video","date":"July 17, 2021","format":false,"excerpt":"What is Spring Framework? What does it mean to J2EE developers? Spring is a light-weight framework, very often referred as an alternative\/competitor to EJB, for the development of enterprise-type applications. Spring provides many features such as declarative transaction management, access to remote logic using RMI or web services, mailing facilities\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":68514,"url":"http:\/\/bangla.sitestree.com\/?p=68514","url_meta":{"origin":66421,"position":5},"title":"Should you learn Websphere? #8","author":"Author-Check- Article-or-Video","date":"August 4, 2021","format":false,"excerpt":"Yes, you can. Why? IBM Websphere products are used by many reputed enterprises\/companies as their software development platforms. Just to mention Websphere is really the name of a group of enterprise software development tools from IBM where Websphere application server is the central tool. The platform is J2EE centric. If\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/66421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=66421"}],"version-history":[{"count":0,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/66421\/revisions"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=66421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=66421"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=66421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}