[jbosstools-issues] [JBoss JIRA] (JBIDE-18857) Java EE 7 Batch support

Viacheslav Kabanovich (JIRA) issues at jboss.org
Wed Dec 10 01:15:42 EST 2014


    [ https://issues.jboss.org/browse/JBIDE-18857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026526#comment-13026526 ] 

Viacheslav Kabanovich commented on JBIDE-18857:
-----------------------------------------------

Batch uses annotation javax.inject.Named on Java classes. We have it processed in CDI tools, but batch project can do without CDI, as javax.inject.Named does not require CDI.

It seems we may need nature/facet/builder for a Batch project. Batch tools should not depend on whether the project has or not CDI nature/facet.

Batch project definitely needs its own model which should collect Batch specific objects and should be built by some builder.

There is a way to avoid Batch nature/builder - use extension to KB nature/builder. KB nature now is attached to all projects that would use in full JBoss Tools capabilities. So, kb plugin may define interfaces and extension point for models that would be stored/accessed through KBModel, and had their builders called through KBBuilder. Theoretically, CDI model/builder could be also implemented in this way. 

So, here is choice for voting.
1. New nature/builder for projects with Batch capabilities.
2. Framework that uses KB nature/builder to access and build projects with Batch capabilities (detected by Batch specific libraries).
3. Just manage Batch model through JDT's IElementChangedListener - this approach will have bad performance for large projects (but maybe Batch projects are small?)
4. ...

I would prefer (1) as most straitforward and Eclipse-like, but ready to implement any of the choices.

[~maxandersen], [~akazakov], please take a look.

> Java EE 7 Batch support
> -----------------------
>
>                 Key: JBIDE-18857
>                 URL: https://issues.jboss.org/browse/JBIDE-18857
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: batch
>            Reporter: Alexey Kazakov
>            Assignee: Alexey Kazakov
>              Labels: new_and_noteworthy
>             Fix For: 4.3.x
>
>




--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jbosstools-issues mailing list