首页 \ 问答 \ EJB 2.1实体bean与EJB 3.0实体bean(EJB 2.1 Entity beans vs. EJB 3.0 Entity beans)

EJB 2.1实体bean与EJB 3.0实体bean(EJB 2.1 Entity beans vs. EJB 3.0 Entity beans)

我有一段时间怀疑这个问题,有些人说EJB 3.0中没有称为实体bean的东西。 有没有可能这么说,EJB 3.0使用JPA来持久保存数据,并且没有对先前版本(EJB 2.1)中的实体bean进行任何增强,而是刚刚带回来。另一个事实是EJB 2.1使用抽象POJO而EJB 3.0使用非-abstract POJOs。 我需要对这些事实做一些清晰的描述。


I had this doubt for sometime now, some people say that there's no such thing called entity beans in EJB 3.0. Is there any possibility to say so, EJB 3.0 uses JPA to persist the data and there's no enhancement to the entity beans from the previous version (EJB 2.1) it's just brought back.Another fact is EJB 2.1 uses abstract POJOs and EJB 3.0 uses non-abstract POJOs. I need some clear description about these facts.


原文:https://stackoverflow.com/questions/1660011
更新时间:2022-06-22 16:06

最满意答案

在链中添加另一个链接不会使链更加可用。

BizTalk有许多内置机制来改善这种连接的稳定性。 想想自动重试,自动节流。 servicebus不需要稳定性。

当您需要使用BizTalk不支持的协议时,您可能希望使用servicebus(例如,云中的CRM使用azure队列,BizTalk 2010不支持(更高版本)。

如果您运行BizTalk的环境是稳定的,那么BizTalk也将是稳定的。 如果环境不那么稳定,那么您可以查看群集以创建一些额外的稳定性。


Adding another link in a chain will not make the chain more available.

BizTalk has many built in mechanisms to improve the stablity of this connection. Think of automatic retries, automatic throttling. There is no need for servicebus for stability.

You may want to use servicebus when you need to use a protocol that BizTalk does not support (for example, CRM in the cloud uses azure queues, which BizTalk 2010 does not support (higher versions do)).

If the environment that you run BizTalk on is stable, then BizTalk will be stable as well. If the environment is not-so stable, then you can look into clustering to create some added stability.

相关问答

更多
  • 有人努力为SQL Server Service Broker打包一个WCF传输通道,但afaik正在放弃。 但NServiceBus支持Service Broker作为传输,请参阅使用NServiceBus和ServiceBroker.net,并且有github项目,如SQL Service Broker的简单包装API和NServiceBus的ITransport插件 。 虽然不完全是主流,但一些支持和社区努力确实存在。 作为ESB,我认为由于缺乏真正的pub-sub和广播,你会遇到问题。 SQL Ser ...
  • 使用BizTalk单例模式 。 这太丑了。 但BizTalk优雅的架构在遇到现实世界时会产生丑陋。 This question is already over a year old, but I just want to add an answer in case someone has the same problem. I tried playing with the throttling configuration of the BizTalk host. This did not help. I d ...
  • 您可以使用没有服务总线的转换代理,反之亦然。 在具体产品方面,我认为任何一个都不是纯粹是一个或另一个,因为每一个互补的方式。 一些产品在一个领域更强,另一个则更强。 也许需要根据哪个功能最好地涵盖个别问题进行选择。 经纪人可能拥有比ESB产品更好的内置“lego块”来构建转型链。 作为ESB投入使用的经纪人可能会被压缩,不能很好地缩减,或者可能缺乏强大的日志记录和处理期刊的工具。 一旦发现了一个严重的逻辑错误,某些ESB就可以将数据库更新回滚并排队,以便将其重播到一个更正的应用程序中。 我不认为大多数经纪人 ...
  • 数据加密不是内置于Service Bus中的内容,但您绝对可以使用.NET库自行加密数据。 如果您的邮件低于最大大小(标准邮件为256 KB,高级邮件为1 MB),这非常简单。 只需将邮件正文设置为生成的加密邮件即可。 Data encryption is not something that is built into Service Bus, but you could definitely encrypt the data on your own using a .NET library. This ...
  • Microsoft的BizTalk和AppFabric Service Bus团队实际上紧密合作,我们(我在那里工作)随着时间的推移将BizTalk的功能与AppFabric和Service Bus集成在一起。 对于BizTalk,我们有Windows Azure AppFabric Connect--它可让您将BizTalk插入到Service Bus中。 在PDC'10,我们宣布(http://bit.ly/9gm2zI)我们将把BizTalk集成功能的一个子集引入服务总线 - 您将会听到更多关于这些功 ...
  • 我最后通过使用HTML5对字符进行编码然后安全性转义它来处理这个问题。 我遇到了一些问题,使用HttpUtility库来处理这种编码,所以我添加了我用来处理编码的方法。 我希望我可以直接归功于此,我不记得我在哪里找到了这个,但是谢谢你,无论是谁: private string EncodeToHTML(string text) { // call the normal HtmlEncode first char[] chars = HttpUtility.HtmlEncode(text).ToCharArr ...
  • 正如Filburt所说! 您可以从业务流程中获得一个逻辑发送端口,并将业务流程绑定到管理控制台中的发送端口组; 所以你可以随意添加或删除发送端口。 如果任何服务也需要转换消息,则可以执行任何映射。 As Filburt said! You would have one logical send port out of your orchestration and you would bind your orchestration to a send port group in the Admin conso ...
  • 在链中添加另一个链接不会使链更加可用。 BizTalk有许多内置机制来改善这种连接的稳定性。 想想自动重试,自动节流。 servicebus不需要稳定性。 当您需要使用BizTalk不支持的协议时,您可能希望使用servicebus(例如,云中的CRM使用azure队列,BizTalk 2010不支持(更高版本)。 如果您运行BizTalk的环境是稳定的,那么BizTalk也将是稳定的。 如果环境不那么稳定,那么您可以查看群集以创建一些额外的稳定性。 Adding another link in a cha ...
  • 是的,组中服务器的NLB在BTS中仍然非常有用,因为它允许像WCF这样的同步接收适配器受益于NLB。 这将允许您一次一个地停止BIztalk服务器,以便重新部署和重新启动主机,而不会影响Biztalk公开的Web服务的客户端。 然后,您可以为Web客户端系统提供NLB ip或主机名以发送请求。 IMO群集仅对于 接收适配器(如果两个或多个主机实例正在轮询相同的接收位置/队列等,则无法正常工作),如msmq 底层SQL服务器 这里有一个更彻底的讨论 但请注意,您不应该依赖NLB在应用程序/端口级别进行故障转移 ...
  • 根据您的代码,问题是由使用Python dict对象作为broker_properties的值引起的,但broker_properties值应该是json字符串。 请参阅GitHub上Azure SDK for Python中的测试代码 。 所以请修改您的代码,如下所示。 properties = '{"Label": "%s"}' % label 要么 import json properties = json.dumps({"Label":label}) According to your code ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)