openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject Re: Weld to OWB migration
Date Wed, 02 Dec 2015 21:38:45 GMT
If you need OWB working in tomcat then simply use the install script from our distribution
bundle.

just unzip the distribution zip file [1][2] and start install_owb_tomcat7.sh (works for tc8
as well)

As example:
./install_owb_tomcat7.sh /opt/apache-tomcat-8.0.23

LieGrue,
staub

[1] http://www.apache.org/dyn/closer.lua/openwebbeans/1.6.2/openwebbeans-distribution-1.6.2-binary.zip
[2] http://www.apache.org/dist/openwebbeans/1.6.2/openwebbeans-distribution-1.6.2-binary.zip.sha1



> Am 28.11.2015 um 02:33 schrieb Lucas Ventura Carro <useyour.mind@gmail.com>:
> 
> Wow! How many answers!!! Thanks to all :)
> 
> 2015-11-27 14:10 GMT+01:00 Romain Manni-Bucau <rmannibucau@gmail.com>:
> you can but not using owb-tomcat integration, just openwebbeans-web (+ its dependencies)
should work.
> 
> I'll try again without owb-tomcat7 ;)
>  
> OWB is known to not work deterministicly with seam cause seam was relying on Weld implementation
(ie was not respecting the spec). 
>  
> If you want to migrate (and not just try) you will probably need to go to deltaspike
as well.
> 
> Yes, I planed to drop Seam,... in the future :P I think that this comes before then.
>  
> 
> 2015-11-27 14:36 GMT+01:00 l.penet@senat.fr <l.penet@senat.fr>:
> If you do not properly use openwebbeans-tomcat7, by putting it in tomcat/lib, you will
not have OwbSecurityFilter (org.apache.webbeans.web.tomcat7.TomcatSecurityFilter) and so you
will not have protection against session fixation (see https://en.wikipedia.org/wiki/Session_fixation
).
> 
> You can get this kind of protection by other means, but you should IMHO pay attention
to this point.
> 
> 2015-11-27 15:41 GMT+01:00 Mark Struberg <struberg@yahoo.de>:
> Hi ludovic!
> 
> This is not needed anymore with OWB-1.6 where we store the stuff natively in the session.
> 
> Is what I was thinking after reading ludovic's answer ^^'
>  
> Lucas, the main question is whether you use injection in servlets, servlet filters or
servlet listeners. If you don’t have that then all you need to do is to add a few owb libs
and add WebBeansConfigurationListener to your web.xml.
> Do you have something to share on github? Otherwise just continue to ask and we will
guide you through.
> 
> Well, is one of the uses ^^'
> It's a multi-technology webapp using Servlet / Filter injection, JSF and JAX-RS endpoints.
> So,... Romain's answer's is overlapped by this, right?
> No, it is not open-source. I could do some "samples" to show you some uses.
> 
> 
> 2015-11-27 18:04 GMT+01:00 <karl.kilden@gmail.com>:
> Also
> 
> For a maven user this doc[1] is ok afaik. It explains what to add and the download page
lists all maven deps.
> 
> [1] http://openwebbeans.apache.org/owbsetup_ee.html
> 
> Yeah, I saw, but nothing about "isolated" webapp deploy ^^'
> 
> Thanks again!!
> --
> Lucas
> 


Mime
View raw message