Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

About Complete Refrence to J2EE 1.2

 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well guys can any one suggest how useful 'Complete Refrence to J2EE 1.2' is as far as paper concerned.
And RMI , JNDI and Sockets are also part of exam
 
Cowgirl and Author
Posts: 1589
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy -- I am not sure exactly which book you are referring to, but if it is the one by Sybex, then it has a *few* good parts and few really bad parts, so I do not recommend it.
But your other questions:
RMI -- This is covered on the exam only to the extend that you must know what it means to be 'remote'
For example, you must know that:
* EJBObject and EJBHome both extend java.rmi.Remote, which is a marker interface (no methods to implement with Remote).
* ALL methods in a remote interface MUST declare java.rmi.RemoteException
* You must understand, but not know any details about, the fact that a stub class is generated from the implementation of the remote interface, and that the container is responsible for BOTH of the those classes -- the implementation of your remote interface AND the stub made from that interface. (And of course this is true for both Home and Component interfaces)
* You do NOT have to know about:
* rmic
* skeletons
* how to 'export' a remote object
* how to place the remote object in the naming service
* the wire protocol, except you MUST know that you are to assume IIOP. Implication? You MUST 'narrow' the Home reference if it is a remote home interface.
* that arguments and return types MUST be serializable if they are passed in or out of remote methods.
===================
JNDI -- you do not need to know much about the JNDI API. But you must know:
* What it means to get a JNDI Context and InitialContext.
* How to do a client lookup (initialContext.lookup("foo"))
* Most importantly, you must understand the bean's own JNDI environment (java:comp/env), which is the bean's own private space for looking up:
1) references to other beans (EJB references)
2) resources, such as JDBC,(resource factory references)
3) environment entrys (deploy-time customized values, like properties)
Be sure you know EXACTLY how those things are used both in the deployment descriptor, and in code, and be sure you know WHICH EJB role is responsible for which part... for example, you must know that the deployer is responsible for *ensuring* that all environment entrys have a valid value, even though it is often the app assembler who puts in the value. And be sure you know that there are three levels of mapping for, say, configuring a database into the EJB app -- the database itself is configured into the server, then the factory reference is given a name in JNDI, and then a logical name (that may NOT be the JNDI name!) is used in code (this is the resource factory reference name in the DD), and that logical name must be mapped back to the *real* JNDI name, at deploy time.
=======================
Sockets -- NOT part of the exam, except for you to know that ServerSockets are not allowed (i.e listening on a Socket) but that Sockets *are* allowed. But that's it. Assume that you will NOT be tested for knowledge of the Socket API.
Hope that helps,
Kathy
 
Syed AliRaza Zaidi
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Kathy once again
 
catch it before it slithers away! Oh wait, it's a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic