We have a WAR file that is deployed however we want to change the database settings. How do I get about doing that? I opened the WAR file in an IDE and there are like 2-3 places that have the database settings. What is the proper way of changing it?
Thank You
...
Dear all,
can we replace Glassfish with Tomcat/OpenEJB for lighter applications?
What is the performance of OpenEJB comparing to glassfish as EJB container.
What is the restrictions of OpenEJB instead of glassfish?
Regards
...
i am going to develop a web application using Struts,Spring and Hibernate. But i have no idea about any of them. Even i know little about JSP and nothing about Servlet. So my question is what to do? I have to learn all those things. But i don't have much time. Normally to learn something i read books on that topics or use tutorials. Now ...
I have a JavaEE6 application, consisting of Web stuff and EJBs and which is deployed as WAR-only (using EJB3.1). The build is based on Maven. I just read about a new possibility to order the module initialization in Java EE 6 here which i also need for my application. Also, i would like to have an option to define some EJB properties in...
I'm using Apache Geronimo as my application server. And authentication is happening over LDAP using Apache Directory Service. I don't have any previous experience with JavaEE software development, so please take it easy on me. Let me know if I need to explain anything in more detail.
Basically my login step is pretty similar to this ...
Hi all, long time listener, first time caller here.
We are in the process of moving from BEA WebLogic 10 to GlassFish v3. We have successfully moved a massive project to GlassFish, and everything's working, but now we're planning for the future.
Specifically, we are using MyEclipse 8.5 with a single Enterprise Application project (DCMH...
I've inherited an existing IntelliJ project and after spedning some time with it, I have everything almost figured out.
The one place I am stuck is that I see a ton of EJBs.
I see that there is an EJB (container-managed persistence), and I'd like to make a new bean.
Withing that EJB, all of the source files begin with:
/*
* Generated ...
My app is a Java EE 6 application, running on Glassfish 3.0.1.
I'm using Java EE Security, with a JDBC Realm. So i added restrictions to some of my web pages.
I added the following login-config and security-constraint to my web.xml:
<!-- Redirect access of restricted pages to index.jsp -->
<login-config>
<auth-method>FORM</auth-meth...
Is there an argument to be made for/against checking for authentication in every JSP? Maybe via a custom tag or some such thing.
The argument that I am hearing is that it is useful to show different content based on the user authentication state.
If I use a filter or container managed security that means I can protect a set of director...
Hi all,
I have several asynchronous jobs that I would like to transparently handle the exception for. I'd like to put the exception handling logic in another component / class. With Seam 2, I extended an exception handler class.
For instance, I'd like to raise an event with the exception in it so that I can have several components ac...
I got two Entity:
Customer Entity
@Entity
public class Customer {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
private String name;
@OneToMany(mappedBy="customer", cascade=CascadeType.ALL)
private List<Facility> facilities;
//Setter and Getter for name and facilities
public void addFacility(Facility facil...
I am the guy who writes java controllers (mvc), who does tests with junit, who writes jdbc, who uses maven ...
basically, how do I know when is this Java EE and when is not? I don't write servlets or jsps (which are part of Java EE) but I do use API and so ...
What am I? Java EE programmer? Java SE programmer?
If you were Spring/Hibern...
Where does it come from? I expected it to be either a part of my JDK or Eclipse, that expectation proved to be wrong.
...
Hello
I need to generate a report with java (exporting data from oracle) that can take several minutes, by the amount of data involved, so when I submit my form the screen freezes until it ends.
How can I generate the report in a background process, so that the user can continue browsing?
JMS? How can i do this with JMS? (Any example ...
I am fairly new to Tomcat. I just managed to build a project and exported it as a WAR file. I tried manually copying a WAR file to the Tomcat folder then restarting. It created the folder structure and everything but I get a 404 Status code when I try to reach the application. I tried deploying it through the Tomcat Admin panel but I'm s...
Hey guys,
I have this webprojec to which I have to add a jar from another EJB project.
Normally I'd right-click the webproject and go to properties -> Java EE Module Dependencies.
I don't know if it is because I upgraded eclipse, or i'm doing something wrong, but I just can't find the "Java EE Module Dependencies" in the properties wind...
Hi Experts,
I very new to maven2. Till yesterday i was successful in building war from maven2. My next target is to build ear file for a war file including few of jar files as well.
Can you please help with that. I would be greatly thankful.
Regards
Gnash-85
...
I have to upload about 30M for my app since it uses a lot of libraries, log, web engine and so on.
I think there should be a way to share these libs on glassfish, but I failed to figure it out. I tried to put them in domain/lib/ext but does not work.
So where should I store these libs and how should I refer to them? thank you.
...
This question just flows through my mind and I hope you here can tell me how.
And since each framework extends the servlets, so I wonder how to share data across them such as I insert an Integer into Session using Struts, can I get that Integer in SpringMVC or Seam.
...
Hi all,
I have a stand-alone, Swing application that uses Hiberanate for its persistence layer. I need to extend this to a three-tier system, so that there will be multiple instances of the Swing application and a central server. The client is a stock trading platform, so it will contain a lot of business logic. The server will be respo...