如何在spring框架和EJB3之间做出选择[重复](how to make choice between spring framework and EJB3 [duplicate])
可能重复:
JEE6 vs. Spring 3堆栈让我来开发一个基于事务的关键任务应用程序。 我会用Java做的。 现在我必须选择这项技术。 我的应用程序必须可扩展,性能良好,代码必须可维护,我希望获得长期投资回报率。 首先,我要选择框架。 作为一个框架,春天在我的脑海中首先出现。 但我知道有更多像EJB3或其他东西。 现在我的问题是,我应该选择什么,带有JPA的EJB3或带有Hibernate的spring框架。 我知道每种技术都有权衡。 任何人都可以帮我做出好的选择吗? 有一点要说清楚,我还是学习者。我想知道EJB和spring框架的优缺点。 谢谢
Possible Duplicate:
JEE6 vs. Spring 3 stackLet I’m going to develop a mission critical application which will be massively transaction based. I will do it with Java. Now I have to choose the technology. My application must be scalable, good performing, code must be maintainable and I want to get long term ROI. First thing, I’m going to choose framework. As a framework, spring comes at first in my mind. But I know there are more like EJB3 or anything. Now my question, what should I choice, EJB3 with JPA or spring framework with Hibernate. I know every technology have tradeoffs. Can anyone help me to make good choice? And one thing to make clear, I’m still learner.And I want to know advantage and disadvantage of EJB and spring framework too. Thanks
原文:https://stackoverflow.com/questions/7051686
满意答案
我不确定你想要什么,但请告诉我这是否适合你:
- 仅使用
a
而不是两个标签(我知道你正在使用)Snipet
a { padding: 10px; border: 2px solid #e4910c; border-radius: 200px; transition: background-color 0.1s; display:inline-block; /* demo purposes - optional */ color:#e4910c; text-decoration:none; } a:hover { background-color: #e4910c; color: white; }
<a href="#">Text link</a>
I'm not quiet sure about what you want, but let me know if this will suit you:
- using only
a
instead of two tags (which I understand you are using)Snipet
a { padding: 10px; border: 2px solid #e4910c; border-radius: 200px; transition: background-color 0.1s; display:inline-block; /* demo purposes - optional */ color:#e4910c; text-decoration:none; } a:hover { background-color: #e4910c; color: white; }
<a href="#">Text link</a>
相关问答
更多如何在CSS中设置文本的背景颜色?(How do I set the background color of targeted text only, using only CSS?)
如何在jquery中设置背景颜色(How to set background color in jquery)
(JavaFX 8)css按钮边框和背景颜色问题((JavaFX 8) css button border and background color issue)
CSS边框颜色:如何设置底部边框颜色?(CSS Border Color: How to set bottom border color?)
获取元素的背景颜色并将其设置为其他元素的边框颜色(Get background color of element and set it as border-color of other element)
可以将背景颜色应用于未应用于边框的元素吗?(Possible to apply a background color to element that does not get applied to border? (CSS))
在IE中,fieldset的背景颜色超出边框(The fieldset’s background color gets out of border in IE)
使用CSS设置工具提示箭头的边框颜色(Set Border Color of Tooltip Arrow with CSS)
在css中设置背景图像和颜色(Set background image and color in css)
如何在CSS中设置边框中的背景颜色(How to set background color in border in CSS)
相关文章
更多精通EJB3.0
IOS-Social.framework
AMF: ASP.NET Mobile Framework
【z】Storm - the world's best IDE framework for .NET
EJB3.0 视频教程-尚学堂视频教程
安卓应用程序插件化开发框架 -AAP Framework
安卓应用程序插件化开发框架 -AAP Framework
spring quartz定时任务
最新问答
更多获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
如何通过引用返回对象?(How is returning an object by reference possible?)
矩阵如何存储在内存中?(How are matrices stored in memory?)
每个请求的Java新会话?(Java New Session For Each Request?)
css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
xcode语法颜色编码解释?(xcode syntax color coding explained?)
在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
Copyright ©2023 peixunduo.com All Rights Reserved.粤ICP备14003112号
本站部分内容来源于互联网,仅供学习和参考使用,请莫用于商业用途。如有侵犯你的版权,请联系我们(neng862121861#163.com),本站将尽快处理。谢谢合作!