Signing a jnlp in order to get rid of the Security Warning

I am developing at a company where a jnlp file is used to start a swing web based java application. It has plenty of jars that are downloaded to the client’s jvm cache. When I updated my jvm to its …

Sharing Cookies Between Sub Domains in java?

I have some cookies stored in http://sub1.myserver.com and I want to be able to see them in http://myserver.com

Mapping array with Hibernate

Can you please help me to map this class using Hibernate? public class MyClass{ private Long id; private String name; private int[] values; … } I’m using PostgreSQL and the column …

Should Enterprise Java entities be dumb?

In our legacy Java EE application, there are loads of value object (VO) classes which typically contain only getters and setters, maybe equals() and hashCode(). These are (typically) the entities to …

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: File name – A HTML text box where the user can give a name in any language. File upload – A HTMl ‘file’ where user can …