Blog Archives

What is the difference between EAR, JAR and WAR file?


In J2EE, application modules are packaged as EAR, JAR and WAR based on their functionality. Each type of file (.jar, .war, .ear) is processed uniquely by application servers, servlet containers, EJB containers, etc JAR: Jar file (file with a .jar

Posted in JAVA, JSP, Servlet

Which is faster in execution-JSP or SERVLET ? Why?


Servlet is faster in execution as every jsp is changed on converted to servlet before starting the execution. Thus the server need to spend some time to convent a JSP file to servlet at it’s first time execution. But developing

Posted in JSP

Can the same object os Stateless Session bean be shared by multiple clients? Can the same object os Stateful Session bean be shared by multiple clients?


It is possible to share the same object of stateless session bean by multiple clients. A Server maintains a pool of objects in case of stateless session bean. And every When ever we send a request to the JSP file

Posted in JSP

What is Server Side Push and how is it implemented and when is it useful?


Server Side push is useful when data needs to change regularly on the clients application or browser , without intervention from client. Standard examples might include apps like Stock’s Tracker, Current News etc. As such server cannot connect to client’s

Posted in JSP

What is difference between stateless and stateful session beans?


Stateless: 1) Stateless session bean maintains across method and transction 2) The EJB server transparently reuses instances of the Bean to service different clients at the per-method level (access to the session bean is serialized and is 1 client per

Tagged with:
Posted in JSP

Difference between JSP & Servlets?


Both are web applications used to produce web content that mean 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

Tagged with:
Posted in JSP

How do you implement Single Thread Model in JSP?


By simply include a page directives <%@page isThreadSafe=”false” %>

Tagged with:
Posted in JSP

<jsp:useBean> tag and it’s properties?


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 variable is called ‘id’. We can also specific life time

Tagged with:
Posted in JSP

JSP Action Tags, Directive Tags & Scripting Tags?


Action Tag: These tags effect the run time behavior of the jsp page and the response set back to client tags are : <jsp: usebean> instantiate a new jsp bean class < jsp: setProperty>: setting the properties at run time

Tagged with:
Posted in JSP

JSP implicit Objects


The objects which are internal to JSP page are called implicit objects. These are available with jsp page once the jsp invoked. 1)out: used to send the content to the browser ex: out.println(“xx”) 2)Response: Represent HttpServlet Reques 3) Response: Represent

Tagged with:
Posted in JSP

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 680 other followers

Calendar
June 2017
M T W T F S S
« Dec    
 1234
567891011
12131415161718
19202122232425
2627282930  
Mallikarjun Gunda

This is Mallikarjun Gunda, I am working as a software professional. Blogging is my Passion. This blog contains the posts on Java related technologies and programming languages. I am happy to share my knowledge through the blogs.

Blog Stats
  • 219,758 hits
IndiBlogger
malliktalksjava.wordpress.c...
70/100
All tags
Apache Cassandra Arrays in Java Cassandra Cassandra Database Cassandra examples client stubs creating a java web service creating a web service using java difference between interface and abstract class Differences between SOAP and RESTfull webservices Display div as Overlay using JQuery download the spring basic application File directory Generating webservice client stubs Hibernate hibernate exceptions How to display over using JQuery how to generated web service client stubs in STS How to implement Spring basic application how to write singleton design pattern in java interface in java Java Java Arrays Java Example Programs Java examples Java interview questions java programs java project Java sample Programs JavaScript Java Script JavaServer Faces Java Sorting alogorithms Java Tutorials javatutorials Java Web services JDBC open shift openshift Overlay implementation using JQuery Overlay in JQuery POI API POI Examples public class public static void main Redhat OpenShift representational state transfer Restfull webservices Sample Overlay html with JQuery sample programs in java Service-oriented architecture Singleton design pattern in java SOAP SOAP Webservices software Spring Framework Spring Interview Questions Spring MVC Spring MVC Example program Spring MVC sample Program Spring Sample Programs Spring Tutorials Struts technology Top Java Interview questions w3c dom Web service web service client Web Service Description Language Web services webservices writing singleton design pattern in Java WSDL Xml xml parsers