Hello,
Today I work on my second pc. I get main project from git repo and test
works fine.
I use only Java 7 on both computers, I use openejb 4.7.1 too:
INFO -
INFO - OpenEJB http://openejb.apache.org/
INFO -
Still ClassRedefiner.redefineClasses in the stack trace or another error?
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau
2014-11-19 9:52 GMT+01:00 slawek s.wojciechow...@gmail.com:
Hello,
Today I work on my second pc.
I have been reading and it seems that I will not be able to use it without
setting a filter in web.xml. Maybe I can create an ApplicationScope bean
and create the DefaultSecuritymanager, but not sure if this is going to
become unmaintainable or not.
El Tue Nov 18 2014 at 4:20:35 PM, Alex Soto
With JL we used a @Singleton @Startup to set up it. That said default
usage is great and using and using a localized bridge to CDI is the
most maintainable way to proceed ATM IMHO (ie using BeanProvider)
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
Yes, the problem is that we want to create a REST project and we want to
use stateless security with tokens and I am not sure if we will be able to
do this in Shiro in some easy way.
El Wed Nov 19 2014 at 10:58:30 AM, Romain Manni-Bucau (
rmannibu...@gmail.com) va escriure:
With JL we used a
Surely something for shiro list but I see nothing blocking, shiro
supports sessionless impl and is pluggable enough to use the token you
want (IIRC github has some oauth integration for instance)
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
i didnt knew about romain's idea but a i think a bit of maven properties
can help:
https://github.com/rmpestano/cdi-crud/blob/master/src/test/resources/persistence.xml
in my case i change the properties via maven profile.
maybe it helps.
2014-11-19 5:01 GMT-02:00 Romain Manni-Bucau [via TomEE
I'd recommend using Apache Maven to build, test, and deploy your
application. Then you can just have
src/main/webapp/META-INF/persistence.xml for your production
persistence.xml, and src/test/resources/META-INF/persistence.xml as
your test persistence.xml, and finally your
JAX-RS 2.0 ResourceContext.init(MyClass.class) is definitely a more portable
way to do it, though the style where a .class is used is a bit intrusive as
far as the application code is concerned IMHO, the application code just
does what it is supposed to do without having the code which would only
Think it does the same excepted .class can use a cdi instance where
resourcecontext ignores cdi
Le 19 nov. 2014 22:42, Sergey Beryozkin sberyoz...@gmail.com a écrit :
JAX-RS 2.0 ResourceContext.init(MyClass.class) is definitely a more
portable
way to do it, though the style where a .class is
Hi
I have an application which needs commons-beanutils.jar dependency. So I put
it into my pom.xml file.
dependency
groupIdcommons-beanutils/groupId
artifactIdcommons-beanutils/artifactId
version1.9.2/version
/dependency
I know
Hi
Set in conf/system.properties:
openejb.classloader.forced-load=org.apache.commons.
Le 20 nov. 2014 04:07, Chris Li libo5...@gmail.com a écrit :
Hi
I have an application which needs commons-beanutils.jar dependency. So I
put
it into my pom.xml file.
dependency
12 matches
Mail list logo