My requirement is to display localized text messages in a J2EE web application. I know J2EE provides very good support for this.
My question is what is the practice followed to have the localized messages stored to be used by the application. If I want to display Japanese / Chinese kind of messages which are not like English like char s...
what is the use of character stream in java? why we need while there is byte streams?I hav gone through many sites i dint get it clearly...Please make me clear...please dont paste google results
...
I have setup Spring / WTP in eclipse as well as successfully started a Tomcat 6 server within eclipse. I'm at the point where I can create a new Spring project and add source files as necessary.
Could somebody please describe (or point me to) how I can setup of some sort of 'Hello World' test and how to run it? I have experience devel...
A best practice question - how are very large websites best structured with Java.
I'm interested in knowing how the deployments themselves are structured -
Some possible answers:
A single Ear - with/without session
sharing in between the constituent
wars?
Multiple Wars - with/without
session sharing?
Multiple modules
that are asse...
My application uses Http client2.0.2 jar file and my unit test suit uses Http client3.1 jar file.
How do I configure two version of same jar file in single application?
...
I was certain that I'll find a duplicate question or a satisfiyng answer, but I haven't.
What I'm looking for is the answer to these questions:
Is there an official correlation between JEE / J2EE and J2SE / JDK versions?
If the answer is yes, where is it written?
If the answer is no, then why? and is there an unofficial version table ...
I've got an existing WAR file that is not developed by me. I deploy the application to the Tomcat server and after that it is accessible for everybody. Which is not good. I need to restrict the access to the context with HTTP Basic auth. What is the best way to do that? I do not need any sophisticated user management system I just need a...
I have a stateless EJB that acceses my database.
I need this bean in a JSF 2 converter to retreive an entity object from the String value parameter. I'm using JEE6 with Glassfish V3.
@EJB annotation does not work and gets a NPE, because it's in the faces context and it has not access to the EJB context.
My question is:
Is it still pos...
We have had a web application product for several years, and used Tomcat to deploy it under Windows as it registers itself as a Windows service so it starts and stops automatically.
We may now happen to need more JEE facilitites than is provided by Tomcat (we are very tempted by the JEE 6 things in the container) so the question is whic...
Hello i have another problem with RichFaces
this is my application and it shows how i want it to work :
http://www.screencast.com/users/Schyzotrop/folders/Jing/media/a299dc1e-7a10-440e-8c39-96b1ec6e85a4
this is video of some glitch that i can't solve
http://screencast.com/t/MDFiMGMzY
the problem is that when i am trying to press any butt...
I am currently updating a java-based web application which allows database developers to create stored procedure regression test suites for database testing.
Currently, for test setup, execution and clean-up stages, the user is provided with text boxes where they are able to enter SQL code which is executed by the isql command.
I would...
How can I inject an EJB into a domain object (an JPA entity) with Java EE 6?
...
Hi all,
I'm running into problems with the size of my Sessions with my Web Application that is based on the Jboss Seam Framework. I am using MessAdmin to investigate and it is reporting that as soon as a User logs in, their session size jumps from 50KB to 55MB (ouch). This seems crazy as I keep very few Objects in the Conversation/Sess...
Hi,
I'm trying to load bean runtime configuration.
@Stateless
public class MyBean implements MyLocal{
@Resource String runtimeSetting1="default_value";
//....
}
I cannot find out how to create custom resource on app server side (Glassfish) - I have no idea what I should enter in "Factory Class" field.
Maybe there is a be...
I downloaded Java EE 6 and it installed with no errors. I am attempting this tutorial from Sun:
http://netbeans.org/kb/docs/web/jsf-jpa-crud-wizard.html
The problem is that I have no idea how to change Netbeans to allow me to use Java EE version 6. I am still only offered 5.
This is where I downloaded Java EE 6:
http://java.sun.com...
Hi everyone, I want to test small web application with jee.In this application I want to add
some songs files which can run on line and can be downloaded.But I start just studying now
and I don't know how to make to play songs in jsp or jsf and I also don't know to make links which can download songs files . Please help and teach me.Tha...
The JPA 2.0 specification says on page 22:
The instance variables of a class must
be private, protected, or package
visibility independent of whether
field access or property access is
used. When property access is used,
the property accessor methods must be
public or protected.
Why isn't public access allowed?
...
i have installed the glassfish eclipse tools bundle...
i can start a project like dynamic web & a ear project and deploy them on the glassfish... it works perfect & under the localhost url i will get an hello world
but how i do this if i want to make an application client. please help...
at the moment i simply created an "app client pr...
We have a java ws deployed on Glassfish talking to another java ws deployed on glassfish (both are JEE 5 and both are being developed on netbeans 6.7.1). So neither of these ws use SSL, but when the main ws calls the other we are getting this error:
WSTX-COORDINATOR-3005: registerResponse sent to EPR '<?xml version="1.0" encoding="UTF-...
I'm converting a JAX-RPC client and service to JAX-WS, and am trying to figure out how to set the client timeout programmatically. This will be a JAX-WS 2.1 client running in WebSphere 7. In JAX-RPC, there was a property I could set on the SOAPBindingStub to set the timeout.
In the JAX-WS code, I've tried setting several properties as...