[java ee programming] Re: Hibernate vs JPA

2009-06-26 Thread Santos Zatarain Vera
I don't konw exactly, but in my "very short experience" (3 months with JavaEE), both are good. The impact of changing for one to another is mininum if you only uses "standard JPA". But, if you use some special "function" or "feature" from Hibernate (or OpenJPA) the difference will be big. A littl

[java ee programming] Re: Jaas

2009-05-25 Thread Santos Zatarain Vera
Here are som information very interesting. http://download.oracle.com/docs/cd/E11035_01/wls100/security/fat_client.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group

[java ee programming] Re: Jaas

2009-05-19 Thread Santos Zatarain Vera
Yes, I understood. But OpenEJB is based on same 'standards' than Glassfish, JBoss, Apache Geronimo, etc, so the properties Context.SECURITY_* should works. Also check security annotations, deployments descriptors, login realms and friends for success login. --~--~-~--~~~--

[java ee programming] Re: Jaas

2009-05-18 Thread Santos Zatarain Vera
I'm no a expert, but in OpenEJB for login, you need to set two properties. Try with this: Properties props = new Properties(); props.setProperty(Context.SECURITY_PRINCIPAL, "user.0"); props.setProperty(Context.SECURITY_CREDENTIALS, "secret"); InitialContext ctx = new InitialContext(props); ctx.loo

[java ee programming] Re: Download Java SE

2009-05-18 Thread Santos Zatarain Vera
>From here: http://www.java.com/ or here: http://java.sun.com/javase/downloads/?intcmp=1281 :-) 2009/5/17 Jion Gao > > How to download Java SE? > Could somebody tell me? > DOS cann`t work in NTFS. > Who can tell me how to solve it? > --~--~-~--~~~---~--~~ You rec

[java ee programming] Re: Generating maven war project with source code

2009-05-13 Thread Santos Zatarain Vera
You have tow options: source code plugin and resource plugin. SOURCE CODE PLUGIN generate another artifact (jar) only with 'sources'. If you need more info, go to http://maven.apache.org/plugins/maven-source-plugin/ RESOURCES PLUGIN copy files from 'some location' to 'another location', with opti