entity-bean

How to create project in WebLogic Workshop with support for JPA entity beans?

How to create a project in WebLogic Workshop (version 10.3) with support for JPA entity beans? I am trying create a separate EJB and EJBClient projects in Workshop and EJB3 session beans work just fine, but I am having problems with JPA entity beans. It seems that when creating a new project you can add support for JPA and BEA Kodo if...

Java EJB entity beans performance

How performant is the entity bean? Would it be too much to ask if I want 1000 objects per table (probably about 20 tables) across 5 processes where some processes might be changing the objects as often as 60 times a second? Are there any resources out there on the limitations of the entity bean? Thanks for any help! ...

What does a Hibernate join table class using composite keys and @NaturalId look like?

I found this before: http://stackoverflow.com/questions/1212058/how-to-make-a-composite-primary-key-java-persistence-annotation There's a code snippet on the first answer: @Entity public class UserRole { @Id @GeneratedValue private long id; @NaturalId private User user; @NaturalId private Role role; } So, not using ar...

when is an EJB CMP entity bean actually created

Hello, I have a session bean that provides a business method, in which it creates several CMP entity beans, something like this public void businessMethod(int number) { try { MyBeanHome home = lookupMyBean(); DataSource dataSource = getMyDataSource(); Statement statement = dataSource.getConnection().createSta...