tagged [jakarta-ee]

Questions every good Java/Java EE Developer should be able to answer?

Questions every good Java/Java EE Developer should be able to answer? I was going through [Questions every good .Net developer should be able to answer](https://stackoverflow.com/questions/365489/ques...

23 May at 12:25

Maven dependency for Servlet 3.0 API?

Maven dependency for Servlet 3.0 API? How can I tell Maven 2 to load the Servlet 3.0 API? I tried: I use [http://repository.jboss.com/maven2/](http://repository.jboss.com/maven2/) but what repository ...

26 Sep at 13:24

How to change context root of a dynamic web project in Eclipse?

How to change context root of a dynamic web project in Eclipse? I developed a dynamic web project in Eclipse. I can access the app through my browser using the following URL: I want to change the acce...

Servlet Filter: How to get all the headers from servletRequest?

Servlet Filter: How to get all the headers from servletRequest? Here is how my `WebFilter` looks like ``` @WebFilter("/rest/*") public class AuthTokenValidatorFilter implements Filter { @Override ...

Can I connect to SQL Server using Windows Authentication from Java EE webapp?

Can I connect to SQL Server using Windows Authentication from Java EE webapp? I am currently investigating how to make a connection to a SQL Server database from my Java EE web application using Windo...

Checking patch integrity

Checking patch integrity I am working on j2ee web application and we have the following requirement: it should be impossible to install application patch with arbitrary classes. Right now patches are ...

21 Jul at 10:27

JSF Lifecycle and Custom components

JSF Lifecycle and Custom components There are a couple of things that I am having a difficult time understanding with regards to developing custom components in JSF. For the purposes of these question...

15 May at 14:7

Why is my JNDI lookup for a QueueConnectionFactory returning null?

Why is my JNDI lookup for a QueueConnectionFactory returning null? I am trying to look up a `QueueConnectionFactory` and `Queue` via Geronimo's JNDI. The `Queue` gets returned fine, but the `QueueConn...

26 Aug at 08:46

Simplest way to serve static data from outside the application server in a Java web application

Simplest way to serve static data from outside the application server in a Java web application I have a Java web application running on Tomcat. I want to load static images that will be shown both on...

WELD-001408: Unsatisfied dependencies for type Customer with qualifiers @Default

WELD-001408: Unsatisfied dependencies for type Customer with qualifiers @Default I'm a Java EE-newbie. I want to test JSF and therefore made a simple program but can not deploy it. I get the following...

GlassFish v3 Prelude - admin questions

GlassFish v3 Prelude - admin questions I've been mucking around with GlassFish v3 prelude this evening. A couple of things I'm not sure about is how the security works. It installed like a dream, so t...

20 Jan at 23:30

Illegal access: this web application instance has been stopped already

Illegal access: this web application instance has been stopped already I have a class which has an init-method defined in xml myClass: ``` public class myClass{ private Thread t; public void init(...

UTF-8 text is garbled when form is posted as multipart/form-data

UTF-8 text is garbled when form is posted as multipart/form-data I'm uploading a file to the server. The file upload HTML form has 2 fields: 1. File name - A HTML text box where the user can give a na...

23 May at 12:26

How can I upload files to a server using JSP/Servlet?

How can I upload files to a server using JSP/Servlet? How can I upload files to server using JSP/Servlet? I tried this: However, I only get the file name, not the file content. When I add `enctype="mu...

How to improve Netbeans performance?

How to improve Netbeans performance? Is there a real way to get Netbeans to load and work faster? It is too slow and gets worse when you have been coding for some time. It eats all my RAM. --- I am on...

19 Jul at 17:23

EJB3 Business Logic Patterns & Practices

EJB3 Business Logic Patterns & Practices I'm in the process of developing a multi-tiered financial processing application in Java using EJB3 (Hibernate + Glassfish for the app and web services layer, ...

javax.naming.NameNotFoundException: Name is not bound in this Context. Unable to find

javax.naming.NameNotFoundException: Name is not bound in this Context. Unable to find I'm trying to find out why my web application throws a when a sister one from which I'm copying the configuration ...

27 May at 08:50

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved ``` org.apache.maven.plugin.PluginResolutionException: Plugi...

Cannot create JDBC driver of class ' ' for connect URL 'null' : I do not understand this exception

Cannot create JDBC driver of class ' ' for connect URL 'null' : I do not understand this exception I am trying to connect to a derby database via a servlet while using Tomcat. When the servlet gets ru...

20 Jun at 09:12

Address already in use: JVM_Bind

Address already in use: JVM_Bind I'm using Glassfish 3.0.1, JVM 1.6.0_21 on Windows XP Pro; I don't know exactly what has changed in my environment but I get this stacktrace as soon as I try to deploy...

15 Sep at 06:16

Name [jdbc/mydb] is not bound in this Context

Name [jdbc/mydb] is not bound in this Context I see this question was raised several times already and I went through all of them. But I am still unable to fix my problem. Could anyone help me pinpoin...

29 May at 18:59