0
votes
1answer
47 views

Spring + Hibernate confuguration

I am trying to integrate Spring and Hibernate but when I run the code and submit my for then it throws this exception org.springframework.dao.InvalidDataAccessResourceUsageException: could not insert: ...
0
votes
0answers
20 views

PimeFaces components causing errors in JSFUnit tests

i am writing JSFUnit tests for an Java ear based project. I am using cargo to deploy to an existing Jboss7.1.* Server. The tests run smoothly on some pages but then the pages that have certain ...
0
votes
1answer
19 views

How do I inject a JMS resource in a JAX-RS REST Web Service?

Using GlassFish 3.1.2.1, I have configured a JMS connection factory and a queue, which can be injected in JavaServer Faces managed beans using the @Resource annotation. However when I try to use ...
0
votes
1answer
20 views

OpenJPA - How to map View to Entity

I'm using WAS 8.0.0.5, which means I'm using OpenJPA 2.1.2-SNAPSHOT. I'm using the Criteria Query API and Canonical Metamodels. I need to access an Oracle View. The View has 1 column named GUID, ...
0
votes
1answer
109 views

loading events from a database into a calendar primefaces

i'm having a trouble in loading some dates into a calendar, using the "schedule" component in primefaces. Here is what my client.xhtml look like : <html xmlns="http://www.w3.org/1999/xhtml" ...
0
votes
0answers
22 views

How exactly use the FilterChaining?

Please someone tell me correctly How to use Filter Chaining I have searched many blogs in stackoverflow and other but still it is not clear. I have add complete filter chaining process in my ...
2
votes
2answers
90 views

Which Java framework should i learn after core Java? [closed]

I know this question has been asked before in the past, but since the situation has changed, i feel the need for an updated opinion. I am looking for an entry level position as a Java developer and ...
0
votes
1answer
33 views

How to work with new Entity Object without setting Id before persisting?

When I choose "new price" from the p:selectOneMenu I get a validation error "value is not valid". This stops when I set an id for the new price in bugBean.generateNewPrice() manually. Even an ...
0
votes
0answers
28 views

JdbcRealm, DatasourceRealm and JaasRealm

I'm working on a Jboss AS7 server, and I'm stuck with a security decision. What are the differences (and advantages) of these security realm in Java EE6 : JdbcReal, DatasourceRealm and JaasRealm ? I ...
0
votes
1answer
27 views

IIS Server Frontend Client with ExtJS could not request(Store.load) to Java Back-end Server Application

I have problem, In my case i use ExtJS as Web Client Front-end framework and that front-end deployed in IIS server, i try to request using Ext.data.Store.load() to Back-end Application Server deployed ...
0
votes
1answer
47 views

How can I store BLOB in DB from Servlet using JPA

I am trying to write simple webapp using JSP / Servlet / EJB (for JPA) for uploading files (up to 50 mb) to DB. In my entity class (User) i have following code: @Lob private byte[] file; ...
1
vote
1answer
42 views

how to call session bean method with a certain role when calling from an MDB?

My Session bean has several methods defined. Some can be accessed by ADMIN role only, others can also be accessed by USER role. @Stateless @DenyAll public class MyBean { ... ...
0
votes
0answers
26 views

NoClassDefFoundError for Siteminder Pure Webagent on Jboss-5.1.0.GA

i have developed custom agent webapplication using siteminder pure webagent. i have used smagentapi.jar and cryptoj.jar in the application, have build the war and deployed on Jboss 5.1.0, received ...
3
votes
1answer
90 views

Java EE 6 @Inject lazy? [duplicate]

I am doing some refactoring and reviewing of the application that we are currently developing. While doing this I found that more beans are injected and I think making they loading in an lazy manner ...
0
votes
1answer
41 views

How to use embedded openejb from a java SE application?

I am writing a little java library that is intended to be used in a web-application as well as by a java console-application. In order to profit from CDI and other javaEE 6 features and not having to ...

1 2 3 4 5 34
15 30 50 per page