I have the following EJB class instantiated in an application running in JBoss 5
public interface ISlaveServer {
public String getId();
public String getName();
}
@Remote
public interface IMasterServer {
public String getId();
public void addSlave(ISlaveServer slaveServer);
public void removeSlave(ISlaveSe...
As of now we are using Struts1.2.4 with java4. We want to upgrade it to Java5. Java 5 has so
many deprecated method in EE. Will struts 1.2.4 work with java 5?
...
Is it sufficient to secure a Java web application with the rights of the user that is running the application server process or is it reasonable also to use SecurityManager with a suitable policy file?
I have used to do the former and not the latter, but some customers would like us to also use SecurityManager that would explicitly give...
An example:
@Remote
public interface SomeComponentRemote{
public Something processStuff();
}
//--
@Local
public interface SomeComponentLocal extends SomeComponentRemote{
}
Is that allowed? Can i do this regularly?
...
I'm working with ADF BC 10.1.3.4,
I've 2 pages, a search page that forwards to a detail page with showOneTab component.
In the first tab I've an af:table (Editable) with all controls available, Add, Delete & Commit
The first column contains a LOV (SelectOneChoice) for each row.
The issue scenario is as follows,
Search for a school, sele...
I'm working with ADF BC 10.1.3.4
I have a page with af:table (editable) with Commit button.
I've added a custom method validation on the underlying Entity Object (Attribute Validation),
If wrong value inserted & commited, the validate method is called twice, and I have a duplicated error message on the UI.
Also, after updating the cell t...
So I'm trying to add some ability to my project to allow user-defined properties in my deployment artifact - a simple key:value .properties file. I place the service.properties file in
war/WEB-INF/my-service.properties
And in my ServiceImpl.java constructor I have the following:
String propertiesFileName = "my-service.properties";...
Hello
I am facing a problem when I move my JSP files along with CSS and JS files under WEB-INF/web/ directory. The problem is that, when a JSP page loads, it does not load CSS and JS files. Please help if you have any idea about it.
Thanks
Umar
...
When I first switched from Java to C#, I was really impressed with C#'s features. However, it seems to me that C# has yet to provide solid infrastructures in the way JavaEE does.
Everytime I try to integrate C#'s features into scalable or complexe architectures, it always comes down to: How can I twist this so it can be MVC / MVP? Datab...
I'm looking for a program to batch decompile java classes.
And i found JAD, but it didn't support some new features of JAVA, and the benefit of this program is that it can execute from command line and generate a *.java file automatically.
And i found jd-gui.exe program, it supports most features of java. But the shortcomming is that it...
I am making a web application using JBoss Seam 2.2.0, and I want to trim my inputs before receiving them, even before the Hibernate Bean Validation phase. Is this possible?
I saw someone using a PhaseListener to do the same functionality. Is this the best way to do it?
...
I am a newbie trying to figure out the pros and cons of using Hibernate with Tomcat and with JBoss.
I am developing a web application with Flex at the front-end, BlazeDS as the messaging service and Java at the back-end. We have decided on using Hibernate as the persistence mechanism but would like to know the trade-offs of using it wit...
I'm not sure about the difference. I'm using Hibernate and, in some books, they use JavaBean and POJO as an interchangeable term. I want to know if there is a difference, not just in the Hibernate context, but as general concepts.
...
I will need to develop/deploy an EAR (webapp + ejbs, webservices) and its the time to know 'where on Internet?'.
this Ear is a simple webapp jsf + ejbs 3, webservices.
app: affiliations system
for who: health sector
users: aprox 2000 users are going to hit (get affiliated) to the app, aprox only 50 simultanely.
server: sun glassfish v2 ...
Is it possible to run OSGi components within Weblogic 10.3? From what i have read it is not possible but im asking just to be 100% sure. There is no option to swap out WL 10.3 so there is no need to list any other application servers or OSGi containers.
Thanx
...
Hi,
I would like to know if there are any tools to automatically generate EJB3 Entity Beans(for JPA) from a database schema.
Thanks.
...
Hi there,
If you were to create a checklist of things you needed to do before you deploy a typical jee webapp that makes use of servlets, ejbs, o/r mapping, relational databases, etc what would be on it? Like any sort of time out properties and settings, pool sizes, jndi related properties, etc. that are crucial at production deployment...
Hi,
I'd like to access my servlet container's thread/busy thread counts within a filter under tomcat.
Is this a part of the jee standard? Or does it have to be tomcat specific? Is there a more general server load measurement?
...
I have been looking in to Spring Batch to solve a batch processing scenario with huge amount of data involved in each job. Are there any other solutions that compete with Spring Batch? To be used in a JEE environment.
...
I'm configuring an installer for our product which, up until now, was distributed as a war file, usually on tomcat. Once tomcat has exploded the directory, the user has to open a properties file and set their database connection information. I'd like the installer to do this (we're using install4j) but there doesn't seem to be a built-in...