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
Select statement on a cross join select
vectors in space
Copy what user types in a text filed in to a hidden field
Firefox displays vertical scroll - IE doesn't
Exchange Accepted Domain Issue
90w adapter too much?
Never done asp 3.0 need quick code to tell if hour is odd or even
PPC: Adwords Strategies
Domain users cannot log on to SBS 2008 domain
Stop ie7 asking to upgrade to ie 8 on XP SP3