Course Hero Logo

Using suns appletviewer you can grant applets special

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 51 - 54 out of 61 pages.

Using Sun’s appletviewer, you can grant applets special privileges to performthose file operations.Applets cannot open network connection to any host other than the one itcame from (the host where the html page was obtained or the host specifiedin thecodebase parameter of the applet tag.
To open network connection, the host name has to be specified exactly thesame. If you used an IP address, you can’t use a name now and vice versa.Applets loaded through client’s local file system using CLASSPATH can do thefollowing:• Read and write files.• Load libraries on the client.• Executeprocesses.• Exit the VM.• Are not passed through bytecode verifier.SCEA1.5 - Few QueriesHow many tiers are there in J2EE Application ?J2EE applications have the following tiers: Client (Browsers, Applications, Applets, Mobileclients and so on), Web (presentation tier consisting of JSP asview and Servlets as controllers), EJB (Business Tier, consisting of EJB and supporting classes),EIS Integration (Java classes that integrate to theEnterprise Information System tier) and finally the EIS tier (relational databases, XMLdatabases, ERP systems and so on.)Confused with UserInRole and CallerInRole ?Servlet - getUserPrincipal() and isUserInRole() - Servlet is called by user so UserInRole comesin servlet codeEJB - getCallerPrincipal() and isCallerInRole() - EJB is called by servlet not by the user directly,so CallerInRole comes in EJB codeWhat is the use of DAO ?EJBs are remote objects that consume significant system resources and network bandwidth. Youcan use Data Access Objects to encapsulate the logic required toaccess databases.Data Access Objects:Allow EJBs to delegate responsibility for database access and free them from complex dataaccess routines.Make code more maintainable.Provide an easier migration path to CMPAllow you to adapt data access to different schemas and different databases.SCEA1.5 - Few Terms for exam
Session failover:----- In a clustered environment, all requests for a particular session aredirected to the same WebSphere Portal server instance in the cluster. In other words, after a userestablishes a session (for example, by logging in), the user is served by the same WebSpherePortal server instance for the duration of the session. To verify which server is handling userrequests for a session, you can view the global settings portlet in WebSphere Portal, whichdisplays the node name of the WebSphere Portal server handling requests. If one of theWebSphere Portal servers in the cluster fails, the request is rerouted to another WebSphere Portalserver in the cluster. If distributed sessions support is enabled (either by persistent sessions ormemory-to-memory session replication), the new server can access session data from thedatabase or another WebSphere Portal server instanceJMS delivery modes:---The message delivery semantics cover a range of once-and-only-once to at-most-once delivery. In the once-and-only-once delivery mode, a message isguaranteed by the JMS provider to always arrive at the intended destination no matter what, andit's sent only once. Even in the pub/sub model in which multiple receivers may consume a copyof a broadcasted message, the rules still apply within the relative view of each consumer. Once-and-only-once delivery guarantee is accomplished by the JMS provider through the combinationof a store-and-forward mechanism and a rigidly defined set of message acknowledgments

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 61 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Fall
Professor
NoProfessor
Tags
Design pattern, Multitier architecture

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture