I have come up with a small project to help me learn Java EE, i'm unsure what technology best suites what I want to achieve however so i'm hoping someone can point me in the right direction.
What is essentially a gloried web crawler should be constantly running somewhere - maybe updating a database or not (the information will become ou...
How can I add a new java project to a existing EAR in eclipse?
I used project references, but it's not working.
...
I have general problem that for now I didn't saw any ORM that solve it,
I have an entity in the database that have fields that I didn't want to load them from database because performance issues,
Now if I didn't load them in the SQL query so they get a default value (NULL),
and someone can use this property and cause a bug,
and if I crea...
I used Java EE 6 with Glassfish v3.0.1, and I wonder if Java EE security model support ACL, and if so how fine-grained is it get?
EDITED
I implement Security using jdbc realm via glassfish v3, that the realm at runtime look into table USER inside the database to check for authentication, by looking at the password field and authorizatio...
Hi
I am working on a project where there is a requirement to have a different look and feel for 1 set of users and a different look and feel for a separate set of users.
These users will be split up based on country or some other type of code to be defined.
I plan to implement a filter that will check which skin this user should have a...
Is there a way to integrate CommonJ WorkManager with Glassfish
...
Imagine the following two ejb3.0 stateless session beans, each implements a local interface and they are deployed to the same container:
public class EjbA {
@EJB
private ejbB;
public void methodA() {
for (int i=0; i<100; i++) {
ejbB.methodB();
}
}
}
public class EjbB {
public void m...
We want to evaluate OpenEJB for our application. We have already performed some tests and now we need to start a pilot project.
While I've seen how to use OpenEJB for testing purposes (mainly for JUnit tests), I have not seen how to set up an EJB 3.X project inside Netbeans for deployment in OpenEJB.
The way we did for testing purposes...
Where do I put weblogic-application.xml in my Maven 2 project so that Maven places it in META_INF in the target EAR artifact?
...
Hi *,
I'm looking for a callback facility that allows me to execute some code before an EntityManager is started in JBoss 6.
More specifically, I would like to process a Liquibase changelog, before the EntityManager is initialized.
Any hints greatly appreciated!
J.
...
Imagine, an Event entity references a Status Entity:
@Entity
@Table(name = "event")
public class Event()
{
@Id
@Column(name = "id", nullable = false)
private long id;
...
@ManyToOne
@JoinColumn(name = "status_code", nullable = false)
private Status status;
}
@Entity
@Table(name = "status")
public class Status()
{
@Id
...
Hello Everybody i'm new in EJB3, i know how to deploy Session Bean (Stateless or stateful) on Glassfish server in one computer. My question is: how can i deploy session bean on Computer A and Deploy Servlet or JSP on Computer B?
It mean
Computer A have Session Bean Source
and Computer B have Servlet or JSP source.
if use 1 computer i ca...
I am having problems connecting to 2 persistence units from within the same transaction using following tech stack,
WLS 10.3.x, Eclipselink 2.1, Oracle 11g JDBC driver, Informix 10 JDBC driver
Using inputs from this SO post I made the oracle datasource XA compliant and the Informix ds "Emulate 2-phase commit" and things started to work...
Hi all,
I`am trying to generate web service client through MyEclipse, using my wsdl.
Ive got the auto-generated classes, and I got this auto-generated example:
/**
* This class was generated by the JAX-WS RI. JAX-WS RI 2.1.3-hudson-390-
* Generated source version: 2.0
*
* An example of how this class may be used:
*
*
* MibasB...
Hey!
I just checked out the Netbeans tutorial for auto-generation of CRUD pages. Not bad, but is there any way to generate CRUD pages with Java EE that look a bit more production like? For example like the admin interface generated by Django or Spring ROO. Of course basic features like searching or alphabetic ordering should be included...
When I am inside the constructor of a managed and trying to reach out to other methods from other beans, I got java.lang.NullPointerException. Is there some kind of specification that not allow managed bean to do that?
@ManagedProperty(value="#{document}")
private DisplayListController document;
@EJB
DocumentSBean sBean;
public NewUse...
Possible Duplicates:
Best Java book you have read so far
Could you please suggest any good books for Java EE
J2EE Book Recommendation
Assuming I already know the JavaSE basics, what would be a good JavaEE book?
...
My particular problem is with picklist
<p:pickList converter="????" value="#{bean.projects}" var="project"
itemLabel="#{project.name}" itemValue="#{project}">
...
I have a Webapplication with EJBs and ServicePOJOs. When i try to access one of those POJOS, i get the following error:
java.lang.NullPointerException
at com.sonydadc.MyAPP.pa.server.PA_Bean.getServername(PA_Bean.java:539)
at org.apache.jsp.templates.start_jsp._jspService(start_jsp.java:104)
at org.apache.jasper.runtime.HttpJspBase.s...
I'm using Hibernate 3.5.0, JBoss AS 6 and Liquibase 1.9.5.
I wanted to activate EhCache Hibernate second-level caching as follows:
The first thing I do, is adding a new dependency to the pom.xml:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-ehcache</artifactId>
<version>3.5....