-
Notifications
You must be signed in to change notification settings - Fork 498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请教下我如果用orm层.例如hibernate 或guzz. 怎么和argo整合. #3
Comments
昨天刚夸回馈及时.今天就没人出来处理issue了? |
guzz与hibernate都是持久层的ORM框架,而Argo则是轻量级的MVC框架,Argo不像spring一样做了常规ORM工具的适配与整合操作,这也正是Argo的哲学之一:简单。 |
能举个例子吗(与hibernate整合的方法) |
Argo 是不是基于 Guice 的?如果是可以看看 Hibernate 和 Guice 一起使用的例子。其实看看 Hibernate 的文档,知道如何原生使用 Hibernate 就好说了 |
是的,argo 使用guice主要用于做类实例的管理。但是 Argo的职责只是进行mvc流转。并不会提供不必要的整合,也不会约束其扩展性。 |
恩,看来原生使用 Hibernate 什么的就好,如果觉得没有一个 DI 很不方便的,最简单的就是使用 CDI |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
当前我们想用guzz.
The text was updated successfully, but these errors were encountered: