<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2501632247584762506</id><updated>2012-02-16T16:45:12.522-08:00</updated><category term='GlassFish v3 Preview'/><category term='Servlets'/><category term='JEE Application servers'/><category term='JSP'/><category term='sun glass fish enterprise server'/><category term='Page Directives'/><category term='Sessions'/><category term='JSP Expressions'/><category term='Error page'/><category term='Implicit Objects'/><category term='features and benefitsJEE'/><category term='Scriplets'/><category term='Scripting tags'/><category term='J2EE'/><category term='JEE APIs'/><category term='Action tags'/><title type='text'>Java EnterPrise Edition</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://javaenterpriseedition.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2501632247584762506/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://javaenterpriseedition.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sunil</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2501632247584762506.post-8491466331412122882</id><published>2009-10-19T02:59:00.000-07:00</published><updated>2009-10-19T03:01:32.292-07:00</updated><title type='text'>J2EE Interview Questions And Answers (part 2)</title><content type='html'>&lt;div&gt;21)What's the difference between the == operator and the equals() method? What test does&lt;/div&gt;&lt;div&gt;Object.equals() use, and why?&lt;/div&gt;&lt;div&gt;The == operator would be used, in an object sense, to see if the two objects were&lt;/div&gt;&lt;div&gt;actually the same object. This operator looks at the actually memory address to see if it&lt;/div&gt;&lt;div&gt;actually the same object. The equals() method is used to compare the values of the&lt;/div&gt;&lt;div&gt;object respectively. This is used in a higher level to see if the object values are equal.&lt;/div&gt;&lt;div&gt;Of course the the equals() method would be overloaded in a meaningful way for&lt;/div&gt;&lt;div&gt;whatever object that you were working with.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;22)why do you create interfaces, and when MUST you use one.&lt;/div&gt;&lt;div&gt;You would create interfaces when you have two or more functionalities talking to each other. Doing it this&lt;/div&gt;&lt;div&gt;way help you in creating a protocol between the parties involved.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;23)What is the difference between instanceof and isInstance?&lt;/div&gt;&lt;div&gt;instanceof is used to check to see if an object can be cast into a specified type without throwing a cast class&lt;/div&gt;&lt;div&gt;exception.&lt;/div&gt;&lt;div&gt;isInstance()--Determines if the specified Object is assignment-compatible with the object represented by this Class. This method is the dynamic equivalent of the Java language instanceof operator. The method returns true if the specified Object argument is non-null and can be cast to the reference type represented by this Class object without raising a&lt;/div&gt;&lt;div&gt;ClassCastException. It returns false otherwise.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;24)How many methods do u implement if implement the Serializable Interface?&lt;/div&gt;&lt;div&gt;The Serializable interface is just a "marker" interface, with no methods of its own to implement.&lt;/div&gt;&lt;div&gt;Are there any other 'marker' interfaces?&lt;/div&gt;&lt;div&gt;java.rmi.Remote&lt;/div&gt;&lt;div&gt;java.util.EventListener&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;25)Name four methods every Java class will have.&lt;/div&gt;&lt;div&gt;public String toString();&lt;/div&gt;&lt;div&gt;public Object clone();&lt;/div&gt;&lt;div&gt;public boolean equals();&lt;/div&gt;&lt;div&gt;public int hashCode();&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;26)What does the "abstract" keyword mean in front of a method? A class?&lt;/div&gt;&lt;div&gt;Abstract keyword declares either a method or a class. If a method has a abstract keyword in front of it,it is called abstract method.Abstract method hs no body.It has only arguments and return type.&lt;/div&gt;&lt;div&gt;Abstract methods act as placeholder methods that are implemented in the subclasses.Abstract classes can't be instantiated.If a class is declared as abstract,no objects of that class can be created.If a class contains any abstract method it must be declared as abstract.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;27)Does Java have destructors?&lt;/div&gt;&lt;div&gt;No garbage collector does the job working in the background&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;28)Are constructors inherited? Can a subclass call the parent's class constructor? When?&lt;/div&gt;&lt;div&gt;You cannot inherit a constructor. That is, you cannot create a instance of a subclass using a constructor of one of it's superclasses. One of the main reasons is because you probably don't want to overide the superclasses constructor, which would be possible if they were inherited. By giving the developer the ability to override a superclasses constructor you would erode the encapsulation abilities of the language.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;29)What does the "final" keyword mean in front of a variable? A method? A class?&lt;/div&gt;&lt;div&gt;FINAL for a variable : value is constant&lt;/div&gt;&lt;div&gt;FINAL for a method : cannot be overridden&lt;/div&gt;&lt;div&gt;FINAL for a class : cannot be derived&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;30)Access specifiers: "public", "protected", "private", nothing?&lt;/div&gt;&lt;div&gt;Public – any other class from any package can instantiate and execute the classes and methods&lt;/div&gt;&lt;div&gt;Protected – only subclasses and classes inside of the package can access the classes and methods&lt;/div&gt;&lt;div&gt;Private – the original class is the only class allowed to executed the methods.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2501632247584762506-8491466331412122882?l=javaenterpriseedition.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javaenterpriseedition.blogspot.com/feeds/8491466331412122882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://javaenterpriseedition.blogspot.com/2009/10/j2ee-interview-questions-and-answers_19.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2501632247584762506/posts/default/8491466331412122882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2501632247584762506/posts/default/8491466331412122882'/><link rel='alternate' type='text/html' href='http://javaenterpriseedition.blogspot.com/2009/10/j2ee-interview-questions-and-answers_19.html' title='J2EE Interview Questions And Answers (part 2)'/><author><name>Sunil</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2501632247584762506.post-4043569783203076268</id><published>2009-10-16T22:54:00.000-07:00</published><updated>2009-10-16T23:52:33.343-07:00</updated><title type='text'>Free Java E-Books Download Sites</title><content type='html'>&lt;div&gt;Some of the good sites where you can download java books for free.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.techbooksforfree.com/"&gt;&lt;span class="Apple-style-span"  style="color:#CC66CC;"&gt;www.techbooksforfree.com&lt;/span&gt;&lt;/a&gt;----This site provides free books on Java,Linux,Perl,Python,Networking,Database,C,C++ and Security.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://jaganguys.com/"&gt;&lt;span class="Apple-style-span"  style="color:#CC66CC;"&gt;http://jaganguys.com&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="color:#CC66CC;"&gt;/&lt;/span&gt;----This is one of my favourite sites which offers books starting from programming languages to Aptitude books.one location where you can find books for every stream related to computers.If you are looking for books written by great authors then this is the right  place.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.blogger.com/www.java201.com/"&gt;&lt;span class="Apple-style-span"  style="color:#CC66CC;"&gt;www.java201.com&lt;/span&gt;&lt;span class="Apple-style-span"  style="color:#CC33CC;"&gt;/&lt;/span&gt;&lt;/a&gt;----This site provides resources for server-side developers and also some good java E-books.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://freecomputerbooks.com/"&gt;&lt;span class="Apple-style-span"  style="color:#CC66CC;"&gt;http://freecomputerbooks.com&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="color:#CC66CC;"&gt;/&lt;/span&gt;---It provides all E-bboks related to programming  languages and you can search books ranging from web designing,data bases,Linux/Unix,.NET,etc.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.blogger.com/www.freebookcentre.ne"&gt;&lt;span class="Apple-style-span"  style="color:#CC66CC;"&gt;www.freebookcentre.ne&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="color:#CC66CC;"&gt;t/&lt;/span&gt;----This site is very good and has E-books ranging from Computer Science,Computer Languages,Java / Advanced Java,Unix/Linux,Web Technology,Database Systems,Networking,Microsoft Technology,Special Topics,Miscellaneous,Oreilly Books,Cisco Certification,Medical books.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.blogger.com/www.ebookslab.info"&gt;&lt;span class="Apple-style-span"  style="color:#CC66CC;"&gt;www.ebookslab.info&lt;/span&gt;&lt;/a&gt;/-----It provides a wide range of E-books&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.blogger.com/www.onlinecomputerbooks.com"&gt;&lt;span class="Apple-style-span"  style="color:#CC66CC;"&gt;www.onlinecomputerbooks.com&lt;/span&gt;&lt;/a&gt;/--------it doesn't even miss out a single book ranging from Programming languages to Web site Designing.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.blogger.com/www.ebooks-space.com"&gt;&lt;span class="Apple-style-span"  style="color:#CC66CC;"&gt;www.ebooks-space.com&lt;/span&gt;&lt;/a&gt;/-------Computer IT,Programming Language,Software Develpoment,Tutorial,Database.&lt;/div&gt;&lt;span class="Apple-style-span"   style="  ;font-family:arial, sans-serif;font-size:11px;"&gt;&lt;h1   style="  ;font-family:arial, sans-serif;font-size:16px;"&gt;&lt;span class="Apple-style-span"  style="font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-size:11px;"&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;/span&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2501632247584762506-4043569783203076268?l=javaenterpriseedition.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javaenterpriseedition.blogspot.com/feeds/4043569783203076268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://javaenterpriseedition.blogspot.com/2009/10/free-java-e-books-download-sites.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2501632247584762506/posts/default/4043569783203076268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2501632247584762506/posts/default/4043569783203076268'/><link rel='alternate' type='text/html' href='http://javaenterpriseedition.blogspot.com/2009/10/free-java-e-books-download-sites.html' title='Free Java E-Books Download Sites'/><author><name>Sunil</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2501632247584762506.post-4017500532229071149</id><published>2009-10-16T01:19:00.001-07:00</published><updated>2009-10-19T03:04:29.487-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Servlets'/><category scheme='http://www.blogger.com/atom/ns#' term='Scripting tags'/><category scheme='http://www.blogger.com/atom/ns#' term='JSP'/><category scheme='http://www.blogger.com/atom/ns#' term='J2EE'/><category scheme='http://www.blogger.com/atom/ns#' term='Error page'/><category scheme='http://www.blogger.com/atom/ns#' term='Action tags'/><category scheme='http://www.blogger.com/atom/ns#' term='Sessions'/><category scheme='http://www.blogger.com/atom/ns#' term='JSP Expressions'/><category scheme='http://www.blogger.com/atom/ns#' term='Page Directives'/><category scheme='http://www.blogger.com/atom/ns#' term='Scriplets'/><category scheme='http://www.blogger.com/atom/ns#' term='Implicit Objects'/><title type='text'>J2EE Interview Questions And Answers (part 1)</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;div&gt;The Following JSP interview questions, servlets interview questions, Java architect interview questions can help you get through an interview (1 to 20)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1)What is a singleton class?How do you write it? Illustrate with an example?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;A class which must create only one object (ie. One instance) irrespective of any number of object created based on that class.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Steps to develop single ton class:-&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(i)Create a Private construtor, so that outside class can not access this constructor. And declare a private static reference of same class&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(ii)Write a public Factory method which creates an object. Assign this object to private static Reference and return the object&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Sample Code:-&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;class SingleTon&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;private static SingleTon st=null;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;private SingleTon()&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;System.out.println(“\nIn constructor”);&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;public static SingleTon stfactory()&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;if(st==null)&lt;/div&gt;&lt;div&gt;st=new SingleTon();&lt;/div&gt;&lt;div&gt;return st;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2) What is the difference between using HttpSession &amp;amp; a Stateful Session bean? Why can't HttpSession be used instead of of Session bean?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;HttpSession is used to maintain the state of a client in webservers which are based on Http protocol. Where as Stateful Session bean is a type of bean which can also maintain the state of the client in Application servers based on RMI-IIOP&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3)What is Temporary Servlet?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;When we send a request to access a JSP, servlet container internally creates a 'servlet' &amp;amp; executes it. This servlet is called as 'Temporary servlet'. In general this servlet will be deleted immediately. to create &amp;amp; execute a servlet base on a JSP we can used following command.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Java weblogic.jspc—keepgenerated *.jsp&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4) Generally Servlets are used for complete HTML generation. If you want to generate partial HTML's that include some static text (this should not be hard coded in servlets) as well as some dynamic text, what method do you use?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Using 'RequestDispather.include(“xx.html”) in the servlet code we can mix the partial static HTDirectoryML page.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Ex:- RequestDispatcher rd=ServletContext.getRequestDispatcher(“xx.html”);&lt;/div&gt;&lt;div&gt;rd.include(request,response);&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5)Difference between jsp:forward and  jsp:include tags?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;jsp:forward action tag redirect the servlet Request and Servlet Response to another resource specified in the tag. The path of the resource is 'relative path'. The output generated by current JSP will be discarded.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;jsp:include action tag process the resource as part of the current jsp. It include the o/p generated by resource, which is specified in the Tag to the current JSP&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(*) In both the cases single Request proceses multiple resources&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;6)Purpose of jsp:plugin tag&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It is used to generate client browser specified HTML tags which results in download of the java plugin software. And the execution of the applet or java Bean component that is specified in the tag.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;7)Which method is called first each time a Servlet is invoked?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;When the servlet obj is not created init() method will be called. It servlet object already exists service() method will be called.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;8)Why DB connections are not written directly in JSP's?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The main purpose of JSP is to seperate the business logic &amp;amp; presentation logic. DB connections deal with pure java code. If write this kind of code in JSP, servlet container converts the JSP to servlet using JSP compiler which is the time consuming process so this is better to write code wich deals with DB connections, Authentication and Authorization etc. in the java bean and use the tag to perform the action.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;9)What is key diffrence between using an jsp:forward tag and HttpServletResponse.sendRedirect()?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Ans: The jsp:forward action tag allows the request to be forwarded to another resource (servlet/jsp/HTML) which are available in the same web-application (context).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Where as in the case of Response.sendRedirect() the request to be forwarded/redirected to another resource in the same web-application or some other web-application in the same server, or to a resource on some other web-server. The key difference is by using jsp:forward tag&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;single request from a browser can process multiple resources. Where as by using SendRedirect() multiple requests take place in order to process multiple resources.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;10)Why beans are used in J2EE architecture instead of writing all the code in jsp's?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In order to seperate the business logic and presentation logic beans are used. We write the business logic in the Beans. Where there is a change in business process we have to modify only the bean code not jsp code and viceversa.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;11)How can a servlet can call JSP error page?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;By simply including an  error-page tag in “web.xml” file&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;error-page&lt;/div&gt;&lt;div&gt;exception-type  javax.servlet.ServletException  /exception-type&lt;/div&gt;&lt;div&gt;location  /error.jsp  /location&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;the placement of the error file i.e /errorjsp.jsp within the location tags and then the end tag of error-page&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;By using Response.sendRedirect(“error.jsp”); or by using RequestDispatcher.forward(“error.jsp”); we can call jsp error page in servlet.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;12)Explain MVC (Model-View-Controller) architecture?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;MVC:- In model view controller design pattern, the software has split into 3 pieces.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;MODEL-&gt; Responsible for Managing Data-&gt; Ex. Java Beans&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;VIEW-&gt; Responsible for generating the views-&gt;Ex. Jsp's&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;CONTROLLER-&gt; Responsible for user interactions &amp;amp; co-ordinate with MODEL &amp;amp;VIEW&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;13)what are JSP implicit Objects:-&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;out: used to send the content to the browser&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;ex: out.println(“xx”)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Response: Represent HttpServlet Reques&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt; Response: Represent HttpServletResponse&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt; Page Context: used to access the objects like session, servlet context, Request, Response etc...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt; Session: Points to HttpSession objects&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt; Application: Points to servlet context objects&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Page: Points to current servlet objects&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Exception: Points to Exception&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;14)JSP Action Tags, Directive Tags &amp;amp; Scripting Tags?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Action Tag: These tags effect the runtime behaviour of the jsp page and the response set back to client tags are :&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;jsp: usebean tag : instantiates a new jsp bean class&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;jsp: setProperty tag : setting the properties at runtime&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;jsp:param tag : used to sending parameters&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;jsp:include tag : include a resource at runtime&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;jsp:forward tag: forward the control to specific resource&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;jsp:plugin tag : to plugin a web resource url applet&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Directives:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;These tags effect the overall structure of the servlet that result from translation. 3 types of directives are defined.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Page directive: used to define and manipulate the no. of page dependent attributes that effect the whole jsp.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;include directive: This instructs the container to include the content of the resource in the current jsp this file is parsed once, when translation is done.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Taglib directive: To use tag extentions to define custom tags.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Scriptlets: There are used to include javacode in jsp page these are of 3 types&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;scriptlet: used to write pure java code&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;declarations: used to declare java variables and methods&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Expressions: These send the value of a java expression back to client. These results are converted to string and displayed at client.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;15) jsp:useBean tag and it's properties?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To separate the code from the presentation it would be good idea to encapsulate the code in java object instantiate it and use it in our jsp. This instance is varaible is called 'id'.We can also specific life time of this object by using 'scope' attribute&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;jsp:useBean id='name' scope=”scope” class=”beanclass”/&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Properties:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;id: a case sensitive name is used.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Scope: The scope with in which the reference is available. page, request,session, application are possible values page is default&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;class: the fully qulified classes name&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;beanname: The name of the java beanclass&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;type: This type must be super class of the beans classes&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;16)How do you implement Singe Thread Model in JSP?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;By simply include a page directives tag&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;%@page isThreadSafe=”false” %&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;17)How do you declare a page as Error Page. What tag you include in a JSP page so that it goes to specified error page in case of an exception?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;By including a page directive tag %@ page isErrorPage=”true”%&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;then this page is including a page directive in our jsp pages&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;%@page errorpage=”url of the above jsp”% tag&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;calling this page is including a page directive in our jsp page&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;%@page errorpage=”url of the above jsp”%&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;18)What is Request Dispatcher? How do you get it?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The name itself reveals that it is used to dispatch the control to requesting resource. It is an interface used to include any resource with in our servlet or forward the controler to any other resource. It contains two methods.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Forward(“---url”);&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;forward(“---url”);&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For getting this we have a method in servlet context interface. So we can get it by servlet context object&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sc.getRequestDispatcher();&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;19) Difference between JSP &amp;amp; Servlets?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Both are web applications used to produce web content that means dynamic web pages. Bot are used to take the requests and service the clients. The main difference between them is, In servlets both the presentation and business logic are place it together. Where as in jsp both are separated by defining java beans .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In jsp's the overall code is modulated so the developer who deesn't know about java can write jsp pages by simply knowing the additional tages and class names.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;One more important to be considered is servlet take less time to compile. Jsp is a tool to simplify the process and make the process automate.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;20)Difference between Hashtable &amp;amp; HashMap?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hash table is a Collection of objects .To successfully store and retrieve objects from a hashtable, the objects used as keys must implement the hashCode method and the equals method. Hashtable is Sychronized and permit non- null values only.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hashtable maps keys to values. Any non-null object can be used as a key or as a value.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The HashMap class is roughly equivalent to Hashtable, except that it is unsynchronized and permits nulls.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;                                                &lt;a href="http://javaenterpriseedition.blogspot.com/2009/10/j2ee-interview-questions-and-answers_19.html"&gt;Goto  part 2&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:6;"&gt;&lt;span class="Apple-style-span"  style="font-family:'Nimbus Roman No9 L', serif;"&gt;&lt;span class="Apple-style-span"  style="font-size:6;"&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2501632247584762506-4017500532229071149?l=javaenterpriseedition.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javaenterpriseedition.blogspot.com/feeds/4017500532229071149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://javaenterpriseedition.blogspot.com/2009/10/j2ee-interview-questions-and-answers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2501632247584762506/posts/default/4017500532229071149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2501632247584762506/posts/default/4017500532229071149'/><link rel='alternate' type='text/html' href='http://javaenterpriseedition.blogspot.com/2009/10/j2ee-interview-questions-and-answers.html' title='J2EE Interview Questions And Answers (part 1)'/><author><name>Sunil</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2501632247584762506.post-4181166550001332773</id><published>2009-10-14T03:51:00.000-07:00</published><updated>2009-10-15T03:06:30.565-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GlassFish v3 Preview'/><category scheme='http://www.blogger.com/atom/ns#' term='sun glass fish enterprise server'/><category scheme='http://www.blogger.com/atom/ns#' term='features and benefitsJEE'/><title type='text'>Sun GlassFish Enterprise Server</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span"  style="-webkit-border-horizontal-spacing: 12px; -webkit-border-vertical-spacing: 12px; font-family:Arial, Helvetica, FreeSans, Luxi-sans, 'Nimbus Sans L', sans-serif;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;The Sun GlassFish Enterprise Server provides the foundation to develop and deploy Java EE artifacts, including Web Services. It provides value-added services for management, monitoring, diagnostics, clustering, transaction management and high availability of mission-critical services.The Features and Benefits are as follows:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" -webkit-border-horizontal-spacing: 10px; -webkit-border-vertical-spacing: 10px; font-family:Arial, Helvetica, FreeSans, Luxi-sans, 'Nimbus Sans L', sans-serif;"&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="color:#666666;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Arial, Helvetica, FreeSans, Luxi-sans, 'Nimbus Sans L', sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;b&gt;GlassFish v3 Preview&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span"  style="font-family:Arial, Helvetica, FreeSans, Luxi-sans, 'Nimbus Sans L', sans-serif;"&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Java EE 6 - Includes new and updated specifications, includes Web Profile distribution&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;OSGi Runtime - Dynamically extensible, lightweight runtime platform that consumes minimal resources&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Improved Administration - Extensible administration (add custome features/commands), RESTful administration API&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Embedded API - Easily embed GlassFish Enterprise Server v3 in your solution&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Enhanced monitoring - Enables more granular monitoring with less overhead; includes Dtrace integration on Solaris&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;Java EE Compatible&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Implements Java EE 5, which helps improve developer efficiency&lt;/li&gt;&lt;li&gt;Enterprise Java Beans 3.0 reduces the amount of code required by as much as 30 to 90%&lt;/li&gt;&lt;li&gt;A new Persistence API allows maximum flexibility in specifying the mapping of Java business objects to a relational database&lt;/li&gt;&lt;li&gt;Java Server Faces 1.2 simplifies the building of user interfaces for Web-based applications&lt;/li&gt;&lt;li&gt;Use of Annotations reduces the need to edit and maintain separate files during development&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Dynamic language support&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Enables deployment of JRuby and Groovy applications&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Rapid iterative development features&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Simplifies development lifecycle of Java Web applications to "edit-save-refresh browser" by maintaining servlet session state after application redeploy&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Clustering for scalability and high availability&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Create and manage clusters from a single administration console and manage a cluster as a single entity&lt;/li&gt;&lt;li&gt;Dynamically grow or shrink a cluster by adding or removing application server instances&lt;/li&gt;&lt;li&gt;Load-balancing plugin monitors cluster health and balances load across available instances&lt;/li&gt;&lt;li&gt;Automatically update the load-balancing plugin&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Breakthrough performance&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;GlassFish is the fastest open-source application server, surpassing the industry's leading application servers&lt;/li&gt;&lt;li&gt;GlassFish is highly scalable and optimized for multi-core servers, including Sun servers with CoolThreads technology&lt;/li&gt;&lt;li&gt;Fast Infoset support improves Web services performance by a magnitude of 2x to 4x, with Sun's Project Metro JAX-WS surpassing other implementations&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Open source foundation&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;GlassFish Enterprise Server is based on Project GlassFish&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Sophisticated administration&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Centralized administration of deployed instances and clusters&lt;/li&gt;&lt;li&gt;Provides remote secure management using a browser-based admin console and a feature-equivalent scriptable command-line interface&lt;/li&gt;&lt;li&gt;Enhanced application monitoring, visualization, and diagnosis&lt;/li&gt;&lt;li&gt;Built-in management rules and triggers can be expanded programmatically&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Integrated development support&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Includes NetBeans and Eclipse IDE support; refer to the GlassFish Plugins project&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;.NET 3.0 Web services interoperability&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Leveraging Project Metro (see above), Sun's Web Services stack, applications can interoperate with Windows Communication Foundation(WCF)&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Update Center&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Quick access to new technologies such as Open ESB, jMaki, JRuby, additional samples and documentation&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; "&gt;Improves developer productivity&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Provides simplified Java EE APIs and annotations, reducing the amount of code a developer needs to write by up to 78%&lt;/li&gt;&lt;li&gt;Can speed start-up by up to 30% (on-demand initialization) and reduce memory requirements by up to 30%&lt;/li&gt;&lt;li&gt;Java EE 5 SDK bundles GlassFish Enterprise Server, Netbeans, and Open ESB for building SOA components, managing a Web services stack, and providing a framework for a Federated Identity management system&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Arial, Helvetica, FreeSans, Luxi-sans, 'Nimbus Sans L', sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span"   style="  -webkit-border-horizontal-spacing: 10px; -webkit-border-vertical-spacing: 10px; font-family:Arial, Helvetica, FreeSans, Luxi-sans, 'Nimbus Sans L', sans-serif;font-size:12px;"&gt;&lt;table border="0" cellpadding="0" cellspacing="0" width="100%" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); text-align: left; clear: both; background-position: initial initial; "&gt;&lt;tbody&gt;&lt;tr&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2501632247584762506-4181166550001332773?l=javaenterpriseedition.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javaenterpriseedition.blogspot.com/feeds/4181166550001332773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://javaenterpriseedition.blogspot.com/2009/10/sun-glassfish-enterprise-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2501632247584762506/posts/default/4181166550001332773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2501632247584762506/posts/default/4181166550001332773'/><link rel='alternate' type='text/html' href='http://javaenterpriseedition.blogspot.com/2009/10/sun-glassfish-enterprise-server.html' title='Sun GlassFish Enterprise Server'/><author><name>Sunil</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2501632247584762506.post-1921208514655338804</id><published>2009-10-14T02:11:00.000-07:00</published><updated>2009-10-14T02:43:41.935-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JEE Application servers'/><title type='text'>Java EE 5 Certified Application Servers</title><content type='html'>&lt;span class="Apple-style-span"   style="  line-height: 19px; font-family:sans-serif;font-size:13px;"&gt;&lt;h3 style="color: black; background-image: none; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; font-weight: bold; margin-top: 0px; margin-right: 0px; margin-bottom: 0.3em; margin-left: 0px; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom-width: initial; border-bottom-style: none; border-bottom-color: initial; font-size: 17px; background-position: initial initial; "&gt;&lt;br /&gt;&lt;/h3&gt;&lt;ul style="line-height: 1.5em; list-style-type: square; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 1.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: url(http://en.wikipedia.org/skins-1.5/monobook/bullet.gif); "&gt;&lt;li&gt;Sun Java System Application Server Platform Edition 9.0, based on the open-source server GlassFish&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;GlassFish&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;JBoss Application Server Version 5.1.2 &lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;JOnAS an open-source application server from OW2 Consortium&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;Apache Geronimo 2.0&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;Apache OpenEJB via Apache Geronimo&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;IBM WebSphere Application Server Community Edition 2.0, based on Apache Geronimo&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;IBM WebSphere Application Server V7&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;WebLogic Application Server 10.0 from Oracle&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;Oracle Containers for Java EE 11&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;SAP NetWeaver Application Server, Java EE 5 Edition from SAP&lt;/li&gt;&lt;li style="margin-bottom: 0.1em; "&gt;JEUS 6, an application server from TmaxSoft&lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2501632247584762506-1921208514655338804?l=javaenterpriseedition.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javaenterpriseedition.blogspot.com/feeds/1921208514655338804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://javaenterpriseedition.blogspot.com/2009/10/java-ee-5-certified-application-servers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2501632247584762506/posts/default/1921208514655338804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2501632247584762506/posts/default/1921208514655338804'/><link rel='alternate' type='text/html' href='http://javaenterpriseedition.blogspot.com/2009/10/java-ee-5-certified-application-servers.html' title='Java EE 5 Certified Application Servers'/><author><name>Sunil</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2501632247584762506.post-8355825681409210331</id><published>2009-10-13T23:43:00.000-07:00</published><updated>2009-10-14T02:44:57.190-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JEE APIs'/><title type='text'>Introduction to JEE,Various types of APIs in JEE</title><content type='html'>&lt;span class="Apple-style-span"  style="  line-height: 19px; font-family:sans-serif;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Java Platform Enterprise Edition&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; or &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Java EE&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; is a widely used platform for server programming in the Java programming language. The Java Platform (Enterprise Edition) differs from the Java Standard Edition Platform (Java SE) in that it adds libraries which provide functionality to deploy fault-tolerant, distributed,multi-tier Java software, based largely on modular  components running on an application server.&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:sans-serif;"&gt;&lt;span class="Apple-style-span" style=" line-height: 19px;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:sans-serif;"&gt;&lt;span class="Apple-style-span" style=" line-height: 19px;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;The Java EE APIs includes several technologies that extend the functionality of the base Java SE APIs.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:sans-serif;"&gt;&lt;span class="Apple-style-span" style=" line-height: 19px;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:sans-serif;"&gt;&lt;span class="Apple-style-span" style=" line-height: 19px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;javax.ejb&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; --The Enterprise JavaBean's 1st and 2nd API defines a set of APIs that a distributed object container will support in order to provide persistence, remote procedure calls (using RMI or RMI-IIOP), concurrency control, and access control for distributed objects. This package contains the Enterprise JavaBeans classes and interfaces that define the contracts between the enterprise bean and its clients and between the enterprise bean and the ejb container.abd.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:sans-serif;"&gt;&lt;span class="Apple-style-span" style=" line-height: 19px;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:sans-serif;"&gt;&lt;span class="Apple-style-span" style=" line-height: 19px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;javax.transaction&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;--These packages define the Java Transaction API.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:sans-serif;"&gt;&lt;span class="Apple-style-span" style=" line-height: 19px;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:sans-serif;"&gt;&lt;span class="Apple-style-span" style=" line-height: 19px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;javax.xml.stream&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;--This package contains readers and writers for XML streams.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:sans-serif;"&gt;&lt;span class="Apple-style-span" style=" line-height: 19px;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:sans-serif;"&gt;&lt;span class="Apple-style-span" style=" line-height: 19px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;javax.jms&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;--This package defines the Java Message Service(JMS) API.The JMS API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:sans-serif;"&gt;&lt;span class="Apple-style-span"  style=" line-height: 19px;font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:sans-serif;"&gt;&lt;span class="Apple-style-span"  style=" line-height: 19px;font-size:small;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;javax.resource&lt;/span&gt;&lt;/b&gt;--&lt;span class="Apple-style-span"  style=" ;font-size:13px;"&gt;This package defines the Java Enterprise Edition Connector Architecture API. Java EE Connector Architecture (JCA) is a Java-based technology solution for connecting application servers and enterprise information systems (EIS) as part of enterprise application integration (EAI) solutions.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:sans-serif;font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" line-height: 19px;font-size:13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:sans-serif;font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" line-height: 19px;font-size:13px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;javax.faces.component.html&lt;/span&gt;&lt;/b&gt;--This package defines the JavaServer Faces(JSF) API. JSF is a technology for constructing user interfaces out of components.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:sans-serif;font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" line-height: 19px;font-size:13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:sans-serif;font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" line-height: 19px;font-size:13px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;javax.persistence&lt;/span&gt;&lt;/b&gt;--This package contains the classes and interfaces that define the contracts between a persistence provider and the managed classes and the clients of the Java Persistence API.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:sans-serif;font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" line-height: 19px;font-size:13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:sans-serif;font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" line-height: 19px;font-size:13px;"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:sans-serif;"&gt;&lt;span class="Apple-style-span" style=" line-height: 19px;"&gt;&lt;h3   style="color: black; background-image: none; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background- font-weight: bold; margin-top: 0px; margin-right: 0px; margin-bottom: 0.3em; margin-left: 0px; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom-width: initial; border-bottom-style: none; border-bottom-  background-position: initial initial; font-size:17px;color:initial;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="mw-headline" id="javax.xml.stream"&gt;&lt;code style="background-color: rgb(249, 249, 249); "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:sans-serif;"&gt;&lt;span class="Apple-style-span" style=" line-height: 19px;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:sans-serif;font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" line-height: 19px;font-size:13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2501632247584762506-8355825681409210331?l=javaenterpriseedition.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://javaenterpriseedition.blogspot.com/feeds/8355825681409210331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://javaenterpriseedition.blogspot.com/2009/10/introduction-to-jeevarious-types-of.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2501632247584762506/posts/default/8355825681409210331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2501632247584762506/posts/default/8355825681409210331'/><link rel='alternate' type='text/html' href='http://javaenterpriseedition.blogspot.com/2009/10/introduction-to-jeevarious-types-of.html' title='Introduction to JEE,Various types of APIs in JEE'/><author><name>Sunil</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
