Hi,

sent https://github.com/forge/core/pull/277 and updated a bit https://github.com/rmannibucau/tomee-jboss-forge-plugin

btw isn't it weird to add jpa impl dependencies (even with scope provided) (in org.jboss.forge.spec.javaee.jpa.PersistencePlugin#setup)?

typically we have the jpa api as provided but rarely the implementation (with arquillian that's worse than before i think)

Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2013/1/21 Lincoln Baxter, III <lincolnbaxter@gmail.com>
I've made you an admin (dblevins github username,) so you can add as many people to the team as you want (I think?) If not, let me know and I'll add them.

For the other things (website update, and central plugin index) just send pull requests for the updates :)

Also if you wanted to add TomEE as a supported container to the forge core runtime that woulds be awesome, too. (Just see my note about adding the JPAContainer class like we have for AS7, GlassFish, and a few others!)

And of course, let me know if you want some help, George and I are both glad to assist.

Copying Forge-dev for posterity.

Welcome to the team!! Really excited to have you guys on board :) This is a big step forward for realizing true portability in Java EE!

~Lincoln


On Sun, Jan 20, 2013 at 9:46 PM, David Blevins <david.blevins@gmail.com> wrote:
Sounds great.

1) TomEE does create a default DataSource for you if you have an @Resource reference for it in your app and no datasource has been explicitly created in the server.  So it being there depends on 1) if you declared you needed a DataSource and 2) what it's called depends on what name you gave your reference.

There are likely other options too.  Knowing where this requirement comes from will help.

2) OpenJPA is the default JPA provider

3) Excellent.  I've updated the plugin so forking it into JBoss Forge would be easier:  https://github.com/dblevins/tomee-jboss-forge-plugin

Maybe fork it to https://github.com/forge/tomee-plugin then we can keep the ball rolling.


-David

On Jan 20, 2013, at 6:05 PM, "Lincoln Baxter, III" <lincolnbaxter@gmail.com> wrote:

> Hey David,
>
> Thanks for reaching out! I definitely want to see this get into Forge. We have a plugin for JBoss AS7, so I'd love to see a second option! To make sure things work smoothly, we need to get a few pieces of information:
>
>       • What is the default JDBC data-source JNDI name and in-memory database that TomEE provides? (In AS7 I believe it is java/comp:DefaultDS and HSQLDB) - We can add TomEE as a JPAContainer that will help people get set up without needing to google or look at docs. An example of our instance for AS7: https://github.com/forge/core/blob/master/javaee-impl/src/main/java/org/jboss/forge/spec/javaee/jpa/api/JPAContainer.java
>
>       • What is the  JPA implementation in TomEE? I assume it is EclipseLink? If it is either that or Hibernate, no additional work needed there. If it's another JPA impl, then we need to add it to Forge (similar to above.)
>
>       • We need to add your plugin to the Forge Central Plugin Index:
>
> http://forge.jboss.org/docs/plugin_development/add-plugin-cpi.html
>
> And that's it! That's where the AS7 plugin lives. We can also add some docs to the website in the getting started on Java EE section so that we give folks the choice of the TomEE plugin as well:
>
> https://github.com/forge/forge.github.com/blob/develop/docs/using/basic-javaee-app.textile#that%E2%80%99s-it-now-build-your-project-and-deploy-it-onto-your-java-ee-application-server-of-choice
> Pull requests of course speed up this process. Everything (including the CPI and website, are done through git.) Thoughts?
>
> ~Lincoln
>
>
>
> On Sun, Jan 20, 2013 at 9:01 PM, Lincoln Baxter, III <lincolnbaxter@gmail.com> wrote:
> Hey David,
>
> Thanks for reaching out! I definitely want to see this get into Forge. We have a plugin for JBoss AS7, so I'd love to see a second option! To make sure things work smoothly, we need to get a few pieces of information:
>
>       • What is the default JDBC data-source JNDI name and in-memory database that TomEE provides? (In AS7 I believe it is java/comp:DefaultDS and HSQLDB) - We can add TomEE as a JPAContainer that will help people get set up without needing to google or look at docs. An example of our instance for AS7: https://github.com/forge/core/blob/master/javaee-impl/src/main/java/org/jboss/forge/spec/javaee/jpa/api/JPAContainer.java
>       •
>
>
> On Sun, Jan 20, 2013 at 2:18 PM, David Blevins <david.blevins@gmail.com> wrote:
> Pinged Lincoln and he'd love to see it in JBoss forge.
>
> Following up in email to keep the ball rolling.
>
>
> -David
>
>
>
>
> --
> Lincoln Baxter, III
> http://ocpsoft.org
> "Simpler is better."
>
>
>
> --
> Lincoln Baxter, III
> http://ocpsoft.org
> "Simpler is better."




--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."