Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

mock questions doubt?

 
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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]
 
Hey, sticks and stones baby. And maybe a wee mention of my stuff:
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
    Bookmark Topic Watch Topic
  • New Topic