| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|
#1 (permalink) |
|
Member
Join Date: Feb 2006
Location: India
Posts: 48
Thanks: 0 Thanked 0 Times in 0 Posts Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 4
|
Dear Friends, these questions were asked by Covansys,and Intervowen companies for 2+ yrs experince guys. Can anybody answer these questions ? 1. I have a file of very very large file size at client side, and I have a JSP page. Using this JSP page, if I want to send the file to a servlet (this servlet will store it somewhere), what is the best method to do it ? 2. What is the difference between normal beans and EJBs ? 3. How system level services in EJBs are managed ? And tell about Deployment Descriptor and the steps involved in it ? 4. What are various types of EJBs ? |
|
|
|
|
|
#2 (permalink) |
|
Senior Member
Join Date: Feb 2006
Location: India
Posts: 546
Thanks: 7 Thanked 7 Times in 5 Posts Thanks: 7
Thanked 7 Times in 5 Posts
Rep Power: 8
|
. What is the difference between normal beans and EJBs ? normal beans:for client side front page designing. ejb:for server side scripting.
__________________
try try try till u succeed meenakshi
|
|
|
|
|
|
#3 (permalink) |
|
Member
Join Date: Feb 2006
Location: India
Posts: 45
Thanks: 0 Thanked 2 Times in 2 Posts Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 3
|
What are various types of EJBs ? EJB stands for enterprise java bean.EJB's are used to implement the business logic.The various types of EJB's are 1) StateFul Session Bean 2) StateLess Session Bean 3) Message Driven Bean 4)Bean managed persistent Entity Bean(BMP) 5) Container Managed persistent Entity Bean(CMP) Session Beans are used to implement the business procedures. Entity Beans are used to access the data from database. |
|
|
|
|
|
#4 (permalink) |
|
Junior Member
Join Date: Feb 2006
Location:
Posts: 3
Thanks: 0 Thanked 0 Times in 0 Posts Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3
|
EJB stands for entity java beans. Actually v hav 3 types of beans. 1.Session Beans 2.Entity Beans 3.Messagedriven Beans and session beans r classified as stateful n stateless entity beans as CMPB n BMPB depending on persistence of data |
|
|
|
|
|
#5 (permalink) |
|
Member
Join Date: Feb 2006
Location: India
Posts: 45
Thanks: 0 Thanked 2 Times in 2 Posts Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 3
|
2. What is the difference between normal beans and EJBs ? A "normal" bean is just a class that has a no arg constructor and that follows certain naming conventions for its getter and setter methods. An EJB is something totally different. First of all, EJBs must run in an EJB container. These containers are provided by enterprise servers. There are various types of EJBs: session beans, entity beans, message driven beans and within each type there are variations. For example, session beans can be stateful or stateless, entity beans can be CMP or BMP. The various types are coded differently. In the case of entity CMPs, many methods are just defined as abstract and implemented by the container. The topic is rather complicated and there are entire books devoted to EJBs. |
|
|
|
|
|
#6 (permalink) |
|
Member
Join Date: May 2007
Location: Bangalore
Posts: 37
Thanks: 1 Thanked 0 Times in 0 Posts Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 2
|
Re: JSP,EJB INTERVIEW Questions asked in MNCs
Deployment Descriptor is nothing but a xml file in which we write our application info..
like servlet info,url pattern and many more.. we have also some other xml files like weblogic.xml, ejb-jar.xml and application.xml.....
__________________
Thanks & Regards, Deepesh The Language of Friendship is not Words but Meanings.... |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|