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 or enterprise beans: Contain business …
Category: FromSitesTree.com
Jul 18
Distributed J2EE Applications #Java Short Notes
Single tier applications are easier to design. Single tier applications mix data, presentation, business logic altogether. It is easier design but workload distribution becomes difficult. Moreover, software maintenance becomes a big headache. Multi-tier applications can address these challenges. Here, the application, hence, the workload is divided into multiple modules – tiers. The presentation, data, business …
Jul 18
Accessing EJBS from Servlet #Java Short Notes
EJBs can be used to create enterprise applications like banking systems. Clients will interact with such systems for operations like: withdraw cash, transfer cash, pay bills When clients directly access EJBs it poses concerns such as: security risks, firewall blocking, EJB architecture becomes transparent to the clients Servlets can act as the middleman between the …
Jul 18
Servlet Random Information #Java Short Notes
Web component information sharing: web context (ServletContext), request, session, and page ServletContext – Scope: entire web-application (Servlets & JSPs) page/PageContext : A single point of access for many of the attributes of a JSP page For each access of the servlet a thread is created. In applications a thread can be accessed concurrently by many …
Jul 18
Java: Struts: Lesson 5: Processing Requests with Action Objects #Java Short Notes
Corresponding Video TutorialCode Example for this article What happens? When a form is submitted? Flow: Refer to a x.do from form action Check struts-config.xml for action named ‘x’ Check the corresponding type (class) of the action, execute the execute method of that action type (really a class where execute is the class method) The method …
Jul 18
Java 2 Security Architecture #Java Short Notes
Security Services Provide Data Integrity Data Confidentiality Access Control – Authentication and Authorization Encryption helps to provide such security services Core Java Security Architecture — Core Java 2 Security Architecture — Java Cryptography Architecture (JCA) — Java Cryptography Extension (JCE) — Java Secure Socket Extension (JSSE) — Java Authentication and Authorization Service — JCE and …
Jul 18
J2EE:Java EE Code Samples & Apps #Java Short Notes
Java EE Code Samples & Apps From: http://sitestree.com/?p=4978 Categories:Java Short NotesTags: Post Data:2010-07-02 21:17:05 Shop Online: https://www.ShopForSoul.com/ (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com In Bengali: http://Bangla.SaLearningSchool.com http://SitesTree.com 8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) Shop Online: https://www.ShopForSoul.com/ Medium: https://medium.com/@SayedAhmedCanada
Jul 18
EJB Overview: EJB in a nutshell #Java Short Notes
Objects provide encapsulation/re-usability at the class level. A component can be comprised of multiple objects Component = logical groups of classes = distributed objects = business objects A component can be developed to address a specific enterprise applications. Hence, components can provide significant encapsulation/re-usability in the partitioned enterprise problems. Component model = components + their …
Jul 18
Skeleton of the Ant File #Java Short Notes
Ant can be used to compile and deploy Java applications. Struts and Spring applications also make use of Ant. Here, we have provided the structure of the build.xml file with examples that is used to carry out the functionalities. The redistribution of this file is in compatible with the copyright law of The Apache Foundation. …
Jul 18
Your First EJB Application #Java Short Notes
Your first EJB application Your second EJB application An online music store – using EJB 3.0 From: http://sitestree.com/?p=4935 Categories:Java Short NotesTags: Post Data:2011-11-10 23:41:54 Shop Online: https://www.ShopForSoul.com/ (Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com In Bengali: http://Bangla.SaLearningSchool.com http://SitesTree.com 8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning) Shop Online: https://www.ShopForSoul.com/ Medium: https://medium.com/@SayedAhmedCanada
