• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Design patterns

 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 528
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Muthu and Marcelo.
reply
    Bookmark Topic Watch Topic
  • New Topic