As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
i need to use an ERD tool in eclipse, to make ERD diagrams for my database tables
and can generate hibernate classes, please suggest me a good eclipse plugin if there's any.
One of the well known and used ones is http://eclipse-erd.sourceforge.net/
Another good one is http://dbva-for-eclipse-for-windows.visual-paradigm-international-ltd.crystal-product.com/
Note that most of such plugins are NOT free.
What I do is to create object class diagram with hibernate annotations.
You can either type the annotation manually in the code and get them immediately updated in your diagram or you can add hibernate stereotypes and got them in the code. It works in both directions.
This is a good alternative to traditional ERD and a lot more powerful approach.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am trying to find a way to generate JPA Entities with some javax.validation Annotations using XML. Basically I modify an XML file and with some magic it'll generate the JPA java classes with the javax.validation Annotations within it. I can't seem to find the right combination of words to find this information online, so I came here. Is there a way to do it?
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am working on a web project using velocity template and servlets. The code is a bit old and we are trying to refactor it before adding new functionalities. I am thinking of introducing dependency injection framework. Searching on net, I found spring DI, pico, guice as some of the options. But, not sure which is the right option. Ideally, I am looking for something easy to start with and lightweight.
Considering it is "a web project using velocity template and servlets", I suggest springframework. It is well documented, vastly used/tested, active community and will help with more then DI.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Does anyone know a good open-source project where I could have a look on the persistence layer (for good programming practices and transaction management) where Hibernate 3 and JPA 1 is used?
I couldn't tell you of any open source projects you can check out, but if you want to learn hibernate I can recommend a great book from Apress. It is called Hibernate Recipes and it pretty much explains everything.
PS: no kind of advertising intended, just trying to help OP.
Try to search Bitbucket or GitHub repositories for "Hibernate", you will find a lot of sample projects you can learn best practices from.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I thought that hibernate is the most used Java ORM, by far. Is its usage declining? If so, where are people migrating to?
You are looking at search trends, not usage trends
A lot of people know Hibernate sufficiently for their daily needs, so they don't search as much for it. I expect this to be the dominant effect. Compare it for example with log4j which declines as well but certainly is still heavily used (and no the decline can't be explained with slf4j) http://www.google.com/trends?q=log4j%2C+slf4j
As mentioned above a lot of people are talking (searching) JPA although they might use Hibernate as the implementation.
Some people realized that maybe the whole ORM thing is a bad idea ... but that probably doesn't show significantly in the search trends
My guess would be it's JPA (of which Hibernate is also a provider). Because of this alias (which wasn't available in 2005) the declining trend for Hibernate may be misleading: some of the growing JPA uses are backed by the "declining" Hibernate, offsetting or even reversing the decline.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
How you do design composite webservices. Are there any frameworks available to let the developer simply concentrate on bussiness logic and to implement composite frameworks with some simple configuration.
I have read about SCA. But seems there is very less implementations of it.
Can some one suggest are there any frameworks which support ease of developing the composite webservices
An ESB caters this aspect to some extent. Please have a look at the open source WSO2 ESB built on top of Apache Synapse.
The WSO2 ESB comes with a large number of samples and please have a look at this sample too....
Thanks...