• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Need Help Ranchers..EJB questions?

 
Ranch Hand
Posts: 603
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi Ranchers,
The Below Queries are with reference to EJB2.1 version.Please guide me to solve this.

Help provided will be highly appreciated.

#1> Which one of the following is not a Session bean?
a>Stateful Session bean
b>Stateless Session bean
c>CMP Entity bean
d>BMP Entity bean
e>Message Driven bean

#2> An Application has 3000 tickers and each ticker has 20 ratios(double values),How would you optimize the performance of this application.

#3> what is an Webservice Endpoint Interface ?

#4> During an RMI call,which Tier/Layer is Bypassed?
a> Web Tier
b> Enterprise Tier
c> Business Tier
d> Client Tier

#5> Can a Point to Point Messaging Model have multiple recievers ,where each reciever consumes a single message.

#4> what is a Home,Remote,Local interface in EJB2.1 ?

#5> J2EE 1.4 supports Webservices-->is this statement true or false ?

#6> Home Interface supports which design pattern ?

#7> What is an alternative way to avoid complex coding of XSLT transformations.?i.e instead of writing the xsl file,can it be done in other way to transform an XML document to XHTML document.?

#8> whats the difference between IMAP and POP mail protocols?

#9> Which of the following is possible to be a part of a Session bean
a>Transient instance variables
b> Presence of Constructor.

#10> which Interface does a SAX Parser Implement.?

Help provided will be highly appreciated.

--
Deepak Lal

 
author & internet detective
Posts: 42003
911
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This sounds like homework.
http://faq.javaranch.com/java/DoYourOwnHomework

What do you think the answers are. Which ONE are you stuck on or confused about?
 
Deepak Lal
Ranch Hand
Posts: 603
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi Jeanne Boyarsky,

Please correct the below answers IF im wrong.???

#1> Which one of the following is not a Session bean?
a>Stateful Session bean
b>Stateless Session bean
c>CMP Entity bean
d>BMP Entity bean
e>Message Driven bean
Answer:Message Driven bean,Message Driven Bean is not a session bean

#2> An Application has 3000 tickers and each ticker has 20 ratios(double values),How would you optimize the performance of this application. ???-----> what is the answer for this.I have no idea about performance.

#3> what is an Webservice Endpoint Interface ? -- >Could you please explain me what is this?

#4> During an RMI call,which Tier/Layer is Bypassed?
a> Web Tier
b> Enterprise Tier
c> Business Tier
d> Client Tier
Answer:Enterprise Tier is Bypassed during a RMI call.


#5> Can a Point to Point Messaging Model have multiple recievers ,where each reciever consumes a single message. --->
Yes This statement is true.Please correct me if im wrong

#4> what is a Home,Remote,Local interface in EJB2.1 ?
Answer: Could you explain me what each of this is with respect to EJB2.1

#5> J2EE 1.4 supports Webservices-->is this statement true or false ?
Answer: False. Webservices is not a part of J2EE1.4,Please correct me if im wrong.

#6> Home Interface supports which design pattern ? ----> Please help me on this.

#7> What is an alternative way to avoid complex coding of XSLT transformations.?i.e instead of writing the xsl file,can it be done in other way to transform an XML document to XHTML document.? ---> No idea on this.Please need your help

#8> whats the difference between IMAP and POP mail protocols? -
IMAP supports multiple folders on servers where each folder is dedicated for each user.

#9> Which of the following is possible to be a part of a Session bean
a>Transient instance variables
b> Presence of Constructor.
Answer: Im confused with what to answer.Please help me with this.

#10> which Interface does a SAX Parser Implement.?
DocumentHandler,Please correct me if im wrong.

#11> How is the session stored in a Session Bean different from the session stored in HttpSession? which one is better to use ? Please advice.??--->NO idea on this.Please need your help.

Help provided will be highly appreciated.
--
Deepak Lal
 
Jeanne Boyarsky
author & internet detective
Posts: 42003
911
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The more effort you show in trying to solve problems yourself, the more helpful answers you are going to get.

For example, Googling "webservice endpoint interface" or reading the free J2EE 1.4 manual (that has been linked to you in your post requesting materials) could answer some of these. Similarly, home/remote/local interfaces are very basic concepts and in any article/book on EJB 2.1.

Since I'm feeling extra helpful, I will give one hint on the first question:

1) Are you only allowed to pick one answer? Hint, there are more correct answers.

In my earlier post I asked which *ONE* question you would like to explore. Preferably with something that shows you have spent some time investigating it. Otherwise, we are back to it sounding like you are asking someone to do your homework for you.
 
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Deepak, please do not use these colours while posting, there may be some guys
who may feel difficult reading this and you may not get answers, it is just suggestion
from my end
 
Deepak Lal
Ranch Hand
Posts: 603
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Im not asking you to do my homework.Im asking all to just cross verify and tell me whether my understanding is correct or not.

Ranchers,Please let me know if my answers in Post#2 are correct or not.

Help provided will be highly appreciated.

--
Deepak Lal
 
Jeanne Boyarsky
author & internet detective
Posts: 42003
911
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Deepak Lal wrote:Hi,
Im not asking you to do my homework.Im asking all to just cross verify and tell me whether my understanding is correct or not.

Ranchers,Please let me know if my answers in Post#2 are correct or not.


I stand by what I wrote - I commented on #1 (it is partially correct.) Then I see a whole bunch of questions where you don't have an answer listed.
 
Deepak Lal
Ranch Hand
Posts: 603
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jeanne Boyarsky,

Hope you can see the answers below now.

Please correct the below answers IF im wrong.???

#1> Which one of the following is not a Session bean?
a>Stateful Session bean
b>Stateless Session bean
c>CMP Entity bean
d>BMP Entity bean
e>Message Driven bean
Answer:Message Driven bean,Message Driven Bean is not a session bean

#2> An Application has 3000 tickers and each ticker has 20 ratios(double values),How would you optimize the performance of this application. ???-----> what is the answer for this.I have no idea about performance.

#3> what is an Webservice Endpoint Interface ? -- >Could you please explain me what is this?

#4> During an RMI call,which Tier/Layer is Bypassed?
a> Web Tier
b> Enterprise Tier
c> Business Tier
d> Client Tier
Answer:Enterprise Tier is Bypassed during a RMI call.


#5> Can a Point to Point Messaging Model have multiple recievers ,where each reciever consumes a single message. --->
Yes This statement is true.Please correct me if im wrong

#4> what is a Home,Remote,Local interface in EJB2.1 ?
Answer: Could you explain me what each of this is with respect to EJB2.1

#5> J2EE 1.4 supports Webservices-->is this statement true or false ?
Answer: False. Webservices is not a part of J2EE1.4,Please correct me if im wrong.

#6> Home Interface supports which design pattern ? ----> Please help me on this.

#7> What is an alternative way to avoid complex coding of XSLT transformations.?i.e instead of writing the xsl file,can it be done in other way to transform an XML document to XHTML document.? ---> No idea on this.Please need your help

#8> whats the difference between IMAP and POP mail protocols? -
IMAP supports multiple folders on servers where each folder is dedicated for each user.

#9> Which of the following is possible to be a part of a Session bean
a>Transient instance variables
b> Presence of Constructor.
Answer: Im confused with what to answer.Please help me with this.

#10> which Interface does a SAX Parser Implement.?
DocumentHandler,Please correct me if im wrong.

#11> How is the session stored in a Session Bean different from the session stored in HttpSession? which one is better to use ? Please advice.??--->NO idea on this.Please need your help.

 
Jeanne Boyarsky
author & internet detective
Posts: 42003
911
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Deepak Lal wrote:#2 - what is the answer for this.I have no idea about performance.
#3 - Could you please explain me what is this?
#4 - Could you explain me what each of this is with respect to EJB2.1
#6 - Please help me on this.
#7 - No idea on this.Please need your help
#9 - Im confused with what to answer.Please help me with this.
#11 - Please advice.??--->NO idea on this.Please need your help.


It's not that I can't read your post, it's that I don't see answers. Now if you posted a smaller number of questions, all of which had answers, I'd be more likely to help. As it stands, you are asking people to read a long post - most of which has "answer my question for me" type answers. Maybe this isn't your intent, but that's how it is coming across. Especially since most people who have long question lists have them for homework/interviews. Someone who is just learning is more likely to have one (or a couple related) questions.

Remember than anyone posting here is doing so in their free time. As such, they are likely to spend a limited time on each thread. All of the time I spent on this thread has been looking for the question. There are three things you can do to make it more likely to get an answer:
1) Ask less questions in the post.
2) Show you have tried to answer them - maybe a link to the internet supporting your answer
3) Acknowledge feedback. In this thread (and one of your other ones), you have been directed to the J2EE 1.4 tutorial which contains many of these answers. I still haven't seen any indication that you have looked there for answers.

See http://faq.javaranch.com/java/ShowSomeEffort for more on this.

Now, I have given you a clue on #1 which is that it is only partially correct. Which means that choice is correct, but not the only correct answer. To find out why, you would look up the definitions for all 5 choices. Have you done that? What did it say? What left you confused? I'm happy to work with you on understanding things. However, I'm going to do it one question at a time and only if you show that you are trying to answer the questions rather than just wait for someone to tell you what they are.
 
Deepak Lal
Ranch Hand
Posts: 603
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jeanne and Ranchers,
Could you please corrrect me if im wrong for the below set of questions.Below are the set of questions of Brain bench Mock exams,and since im new to EJB 2.1 please help me out.

I really dont know how to approach for most of the problems so im asking here.Please guide me or atleast provide me with a hint to answer the questions

#1> Which one of the following is not a Session bean?
a>Stateful Session bean
b>Stateless Session bean
c>CMP Entity bean
d>BMP Entity bean
e>Message Driven bean
Answer:Message Driven Bean is not a session bean :This is confirmed.Im confident abt this answer.


#2> An Application has 3000 tickers and each ticker has 20 ratios(double values),How would you optimize the performance of this application. ???----->Can any rancher tell me how to approach this problem.???

#3> what is an Webservice Endpoint Interface ?
My initial Analysis:
An Endpoint interface or Service Endpoint interface, is a term used in Java Platform, Enterprise Edition when exposing Enterprise JavaBean as web service.

A web service client accesses a stateless session bean through the bean's web service endpoint interface. Like a remote interface, a web service endpoint interface defines the business methods of the bean.

In contrast to a remote interface, a web service endpoint interface is not accompanied by a home interface, which defines the bean's life-cycle methods.

#4> During an RMI call,which Tier/Layer is Bypassed?
a> Web Tier
b> Enterprise Tier
c> Business Tier
d> Client Tier
Answer:Enterprise Tier is Bypassed during a RMI call. Is my Answer correct ?


#5> Can a Point to Point Messaging Model have multiple recievers ,where each reciever consumes a single message. ---> Yes This statement is true.Please correct me if im wrong

#6> what is a Home,Remote,Local interface in EJB2.1 ?
Answer: www.google.com gave me the results.

#7> J2EE 1.4 supports Webservices-->is this statement true or false ?
Answer: False. Webservices is not a part of J2EE1.4,Please correct me if im wrong.

#8> Home Interface supports which design pattern ? ----> Please help me on this.

#9> What is an alternative way to avoid complex coding of XSLT transformations.?i.e instead of writing the xsl file,can it be done in other way to transform an XML document to XHTML document.? ---> No idea on this.Please need your help

#10> whats the difference between IMAP and POP mail protocols? -
SUN JAVA MAIL API: IMAP supports multiple folders on servers where each folder is dedicated for each user.

#11> Which of the following is possible to be a part of a Session bean
a>Transient instance variables
b> Presence of Constructor.
Answer: Im confused with what to answer.Please help me with this.

#12> which Interface does a SAX Parser Implement.?
DocumentHandler,Please correct me if im wrong.

#13> How is the session stored in a Session Bean different from the session stored in HttpSession? which one is better to use ? Please advice.??--->No idea on this.Please need your help.

Could you help me me to solve this question Rancher.
Help provided will be highly appreciated

--
Deepak Lal
 
The world's cheapest jedi mind trick: "Aw c'mon, why not read this tiny ad?"
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic