Question : EJB and JSF questions.

I have this questions that I am trying to "solve". I think I got the correct answer but I need someone to see so that it is correct so I dont teach myself wrong answers.

What is the advantage of facelets over jsp for defining jsf views
a facelets allow java classes to be used in the page definintions
b facelets have a faster compilation time than jsp
c facelets are appropriate for mobile devices as well as full browers.
d The is no advantage
Answer b


Which jsf user interface component should you use to group components in order to style them together?
a paneltable
b panelgrid
c panelgroup
d non of the above
Answer c


every jsf implemenation has a standard set of converters for:
a dates
b primitive types
c biginteger and bigdecimal
d all of the above
Answer b

which could be the client of a stateless session bean?
a a servlet or jsp in the web tie
b an rmi or corba program
c a web services program
d all of the above
Answer d


which component type does a server keep in a method ready pool?
a stateless session beans
b stateful session beans
c message-driven beans
d both a and c
Answer a


the annotation @interceptors is used in the souce code for
a an interceptor
b a session beans business interface
c a session beans implementation class
d a client class
Answer: a


Jms implements publich/subscribe messaging using
a topics
b sequences
c lines
d queues
Answer d

ORM solutions do not have to adress:
a mapping of your persistent objects methods to the database
b how your persistent objects lifetime relates to database infomration lifetime
c how to define queries in an object oriented way
d mapping of your persistent objects state to the database
Answer: c

In your jpa code, you get an entitymanagerfactory by calling the static method createentitymanagerfacotry() on:
a entitymanager
b entitymanagerfactory
c persistence
d entitytransaction
Answer: b

In jpql, instead of using the name of a table in the FROM clause, use the name of a:
a field in the class
b class
c persistent object
d local variable
Answer: c

Answer : EJB and JSF questions.

Jms implements publich/subscribe messaging using topics
Random Solutions  
 
programming4us programming4us