Can the primary key in the entity bean be a Java primitive
type such as int?

Answer Posted / geetanand

IT SHOULD NOT BE PRIMITIVE. IT SHOULD BE AN OBJECT. AND IN
JAVA WE CAN CREATE OBJECTS OF ANY TYPE USING WRAPPER CLASSES.
SO WE CAN USE THIS WRAPPER CLASS OBJECTS.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stateless session bean?

543


can u explain about design patterns like singleton,builder,factory

1886


What is applicationscoped?

537


What is the meaning of acid in the connection of transaction management?

535


Explain the concept of ejb ql?

598






Which is the only method defined in the javax.ejb.handle interface?

627


Why do we use @requestmapping?

512


Define Initial Context?

581


What is bean-managed persistence?

573


What is difference between stateless and stateful?

493


Is state maintained by a Stateless bean?

558


Is ejb be called from another ejb? If yes then how?

517


What are the design principles for ejb?

520


What is session bean?

539


Define Context?

593