Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

mock questions doubt?

 
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
(1) which EJB's ideal to model multiple rows of read only data
answer is session beans instead of entity beans. why?

(2) which EJB is ideal for batch processing? session/entity
Answer is stateless session beans why not entity beans?

(3) which statement is correct?
(a) ssl is a low level protocol sits below http
(b) ssl is high level protocol sits above HTTP
I thought answer is A. But result is B. which is correct.
 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi

1. session with dao, because of performance, reduced overhead
2. dont know the exact def. of batch proc. but it has do with a process more than with a particular persistent entity
3. definitely a. dont let mocks confuse you . let me guess: whizlabs ?
[ November 03, 2005: Message edited by: Uwe Sch�fer ]
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by yamini nadella:
(a) ssl is a low level protocol sits below http



TLS is the IETF successor to SSL. From HTTP Over TLS:


2. HTTP Over TLS
Conceptually, HTTP/TLS is very simple. Simply use HTTP over TLS precisely as you would use HTTP over TCP.

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi


1. session with dao, because of performance, reduced overhead



i am not too sure about DAO REDUCES overhead. stateless session beans nofluffjustuff n cheaper in terms of resources.

2 .Readonly data and batch processing dont need container callbacks
can use stateless beans for this purpose.

please correct me if i am wrong.

3. SSL below application protocal[hhtp or what ever app protocal]
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic