Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Design patterns

 
Sandhya Lever
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which two are characteristics of transfer object?
a)It reduces network traffic by collapsing multiple requests into one.
b)It increases complexity of remote interface by removing coarse grained methods.
c)it increases complexity of design due to remote synchronisation and version control issues.
d)It increases network performance by introducing multiple fine grained remote requests which retun small amounts of data.

Squeaky beans inc shopping application was initially developed for a nondistributed environment.The company recently acquired Acme application server which supports distributed HttpSession objects.when deploying the application to the server the deployer marks it as distributable in the DD to take advantage of this feature.Which two must be true given this scenario?
1)The J2EE web container must support migration of objects that implement serialisable.
2)the J2EE web container must use native JVM serialisation mechanism for distributing session objects.
3)as per the specification the j2ee web container ensures that distributed httpSession objects will be stored in a database.
4)Storing references to EJB components in the Httpsession objects might not be supported by J2EE web containers.

Please help me with the above questions/
 
muthu kumaran
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I can say the answer for the first one as (a) and (c)but not sure on the answers for the second one
 
Marcelo Ortega
Ranch Hand
Posts: 528
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the first question, i think answers a and c are the correct ones.
For the second one id say 1 and 4.
 
Sandhya Lever
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Muthu and Marcelo.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic