Microsoft
Software
Hardware
Network
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
Exchange 2007 Powershell error
if sentence returns weired value
SQL Code needs changing or optimising - using Cursor at present
Why domain admin can not use mstsc to the DC after I added a user to remote desktop group?
Need to export info on vm's for reporting
JavaScript "Are You Sure" Pop up that executes code if "Yes"
having trouble using CONCATENATE in excel 2010
troubleshoot sql tcp - connects locally but not in domain
OS X Open Directory Offline Files?
Move Mailbox from Exchange 2003 to Exchange 2010