[jboss-user] [EJB3] - EJB 3.1 and evil StaticMetamodel

Ove Ranheim do-not-reply at jboss.com
Tue Nov 2 21:31:20 EDT 2010


Ove Ranheim [http://community.jboss.org/people/oranheim] created the discussion

"EJB 3.1 and evil StaticMetamodel"

To view the discussion, visit: http://community.jboss.org/message/569405#569405

--------------------------------------------------------------
Hi all,

Timely, Java 6 got rid of XML through Annotation and stuff. As a Weld / CDI user I love it. After searching Google I don't find many people complaining about @StaticMetamodel. The new way to describe your meta-model. This doesn't seem thought through from my perspective, since most meta data is already described. What's the point and why do I have to re-constitute my data model in order satisfy CriteraBuilder.

Am I on the wrong track here?

What's the point? This to me seems like a wrong path, as it's in the code, already!?

How come I get have to move from bloated XML code to bloated Annotated code?

Why?

Cheers

PS! Why not make a way to encompass anomalies of already existing code.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/569405#569405]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101102/3f16fe87/attachment-0001.html 


More information about the jboss-user mailing list