subbarao N.V

Greenhorn
+ Follow
since Aug 21, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by subbarao N.V

HI


The Difference between Ejb2.0 and Ejb3.0 is mainly persistance.

As part of ejb2.0 we are using EntityBeans for to access the database.But as part of ejb3.0 we are using the JPA(Java Persistance API) for to access the database and some portability issues.But this Api is same as some orm products like hibernate,Toplink,JDO.But JPA is better than these orm products in case of portability.Because it is using the same api called JPA.
HI

JavaBean and Ejb both are component technologies.Java Bean have set of properties(setters and gettters) and Ejb have set of propeties(implements the serializable interface,Support the Rmi Technology).



But Java Bean will work in client side and server side.Java bean can work as a standlone(AWT class) and work as a serverside application(Implement the business logic).



But Ejb's work in ServerSide only.These are Build for Business Logic purpose.We can configure these components in any Ejb container.The Ejb can be used by many no of clients like servlets,standlone,gui application.
HI

Iam N.V.subbarao.Iam New to Object Oriented World.I would like to know the ,Different Types of objectOriented Futures with real-time examples(Inheritance,Encapsulation,Abstraction,Polymorphism,Messaging).Can Any One Help to me.
15 years ago
Hi

Marker Interface doent contain any methods.These interfaces like SingleThreadModel,EnterpriseBean. These Interfaces are use for some indications.While Running your programme(Servlet),If you want thread safe, the jvm checks are you implement the these interfaces or not.Like this we have several marker interfaces. Like this marker interfaces are using for indication(It Indicates some activity).

Thanks& Regards

Nunna Venkata Subbarao
15 years ago
Hi to All.


What is the Difference between statefull and stateless session bean?
hi

Suppose your class is student,you create a subdirectory as part of bea directory in the weblogic and place the student.class.Before starting your weblogic set the class path to student.class and start the server.


This is the one way


It is performance wise good.
15 years ago
hi

RequestDispatcher rd1=servletContext.getrequestDispatcher("/servleturlpattern");


Here you are passing the url pattern of the servlet.

RequestDispatcher rd1=Request.getNamedDispatcher("servletname");

getNamedDispatcher is the method as part of the Request interface.For this method you are passing the servlet name(this name you are providing as part of the web.xml(<servlet><servletname>servletname</servlet-name></servlet>
15 years ago
Hello sathya


First Question your self how many types of servlets?


Ans: infinite


GenericServlet is protocolindependent(that is it is working for all the protocols not only http,ftp,---------etc).


But Http servlet is developed based on Http protocol.If you extend the Httpservlet you are implementing servlet based on the http protocol.


Tommarow somebody has implementing FTpservlet by extending Generic Servlet.

If you extend Ftpservlet class ,your class supports only FTP protocol.


But out third party vendors implemting the http protocol heavily.
15 years ago
Two types of cookies

Temporary: These cookies will be deleted from your browser you close the browser

Permanent: These cookies will be there after closing the browser.


Because for cookies, They have the name,value,age. If you set the age for the cookie, that will be there until the age==-1. Because the default age for cookie is -1.These type of cookies will be closed, when ever we close the browser.
15 years ago
hi

Application server different types of services like Directory service,Transaction Management,Security Management.


But Webserver supports only webapplications,like servlet,jsp,struts applications
15 years ago
hi

Both the methods for handling the requests.If you provide doGet() mehtod as part of your servlet application.First the container checks for the service() method if it not there,service method calls the doxxx() methods.All these methods will be called based on request type.If the request type is get it calls doGet().
15 years ago
Hi

I Find out one difference between serv2.3 and 2.4,As part of the web.xml file we re giving the url pattern for servlet.But in the 2.4 we are giving the more number of urls for the same servlet(But it is working with jdk1.5)
15 years ago
Hi All,

Iam New to this forum.If this issue is not related this topic,please execuse me.

My Problem is, Iam in Maintainence project,Our Seniors has given Demo on the application.After that I tried to learn the application flow.But This application using several interfaces.How can I get easly command on the Application Flow.
15 years ago