Are you using JDK 6?

On 8/26/07, David Blevins <[EMAIL PROTECTED]> wrote:
>
> On Aug 26, 2007, at 12:06 PM, deniskulik wrote:
>
> >
> > Cheers guys!
> >
> > The build comes in very handy although I am almost done with
> > building source
> > code with Maven. I will give it a go and see what happens.
> > Hopefully will
> > come back to you with some feedback very soon.
>
> FYI, checked in a patch (revision 569858) that cleans out the startup
> text.  If you checkout before that you'll see some slight formatting
> disruption from hsql.  Put up another build just in case: http://
> people.apache.org/openejb-3.0.0-569858-bin.zip
>
> Sounds like you're maven friendly with is great.  You should check
> out our embedded testing support.  We have a few examples:
>
>    http://openejb.apache.org/examples.html
>    http://openejb.apache.org/ejb-injection-example.html
>
> An update on the comments in those examples..  You no longer need to
> set "openejb.deployments.classpath=true" or
> "openejb.deployments.classpath.include".
>
> For any maven project, you just
>
>    1.  add a test scoped dependency on openejb-core
>    2.  Make sure you have at least an empty ("<ejb-jar/">) ejb-
> jar.xml file in src/main/resources/META-INF/
>    3.  Then just use
> "org.apache.openejb.client.LocalInitialContextFactory" as the
> provider for your InitialContext
>
> That's it.  You should be able to lookup beans and test them out.
> Transaction attributes, security constraints, jpa, etc. all work.
> And as a side note, we only load support for the things required to
> run your app... so you only pay for what you use.
>
> -David
>
>


-- 
Karan Singh Malhi

Reply via email to