I have a question for you 😉 MyBatis 3 or Hibernate-JPA. Why?
Recently, Alfresco has changed to MyBatis to increase performance and less memory
Regards.
Well. That is depending on your product. If you have a product like JIRA, something what have to run in different environments on different databases, Hibernate-JPA is the right choice.
If you know that your application will always run with the same database and performance is important for you than I think MyBatis is the way to go. I would even recommend Spring-JDBC template. You have to write a little more code with that approach, but you have full control about your SQL and you can really take advantage of your database specific features.
I don’t use that GEM anymore. I am using plain oauth to communicate with Twitter. A little bit more code, but also more control and less magic I have to maintain 😉
But i can’t create a project from the archetype you gave, i became the message that the desired archetype does not exist. Please can you help me? how i can get this project.
I’m not active anymore in the JSF community. Unfortunately I couldn’t find repo anymore. But you could reach out to the PLOIN guys (http://www.ploin-gmbh.de/) and ask them why their Maven2 Server is down. Maybe they can help you.
Hi Tarul. I don’t work for PLOIN anymore and somehow they shut down their M2 Repository Server. Sorry to say that but you have remove the ploinUtils dependency from the project and compile it again.
I have a question for you 😉 MyBatis 3 or Hibernate-JPA. Why?
Recently, Alfresco has changed to MyBatis to increase performance and less memory
Regards.
Well. That is depending on your product. If you have a product like JIRA, something what have to run in different environments on different databases, Hibernate-JPA is the right choice.
If you know that your application will always run with the same database and performance is important for you than I think MyBatis is the way to go. I would even recommend Spring-JDBC template. You have to write a little more code with that approach, but you have full control about your SQL and you can really take advantage of your database specific features.
I have here an archetype for Spring + JDBC:
https://robert-reiz.com/tutorials/archetypes/
I used the Spring-JDBC template for a backend project for http://versioneye.com before I switched over to a NoSQL database.
Robert,
I came across your post https://github.com/sferik/sign-in-with-twitter/issues/1#issuecomment-3602391 and I’m having the same problem with my routes. Could you please explain to me what you found out to get this application working?
Thanks, Matt
I don’t use that GEM anymore. I am using plain oauth to communicate with Twitter. A little bit more code, but also more control and less magic I have to maintain 😉
Hi robert,
where I can get dependency ploinUtils-1.6.8.jar??
thanks al
Unfortunately the ploinUtils are not longer publicly available. You have to remove all dependencies to ploinUtils.
Hi Robert,
i am very interested for this project:
https://robert-reiz.com/2010/09/27/archetype-jsf-2-0-spring-3-0-4-release-hibernate-3-3-0/
But i can’t create a project from the archetype you gave, i became the message that the desired archetype does not exist. Please can you help me? how i can get this project.
Thanks,
Anatole
Hi Anatole,
I’m not active anymore in the JSF community. Unfortunately I couldn’t find repo anymore. But you could reach out to the PLOIN guys (http://www.ploin-gmbh.de/) and ask them why their Maven2 Server is down. Maybe they can help you.
Robert
I think you base line should be “I like building software”. Cheers.
Thanks man. I just changed it 🙂
Hi Robert,
I really like your post. I am trying to use the archetype that you specified in this URL
https://robert-reiz.com/2012/02/18/archetype-richfaces-4-1-0-final-spring-3-1-0-release-hibernate-3-3-0/.
But unfortunally it require the ploinUtils-1.6.8 jar file . Can you please provide me this jar in mail or share the url to download.
Hi Tarul. I don’t work for PLOIN anymore and somehow they shut down their M2 Repository Server. Sorry to say that but you have remove the ploinUtils dependency from the project and compile it again.