首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

7.5 总结

2013-11-18 
7.5 小结7.5 Summary7.5 小结?In this chapter, you’ve seen how ActiveMQ can be viewed not only as a s

7.5 小结

7.5 Summary

7.5 小结

?

In this chapter, you’ve seen how ActiveMQ can be viewed not only as a separate Java

infrastructure application, but also as a Java module that can be easily integrated in

your Java applications. Offering a wide range of flexibility, ActiveMQ can be configured

with plain Java code or by using XML configuration files.

?

从本章内容可以看出,ActiveMQ不仅可以作为一个独立的Java基础应用程序使用,而且也可以作为一个Java

应用模块,并且能够很容易的集成到其他的Java程序中.ActiveMQ具有强大的灵活性,可以使用纯Java代码

配置也可以使用XML配置文件配置.

?

You’ve also seen how ActiveMQ can play well with the Spring Framework, both in

terms of integrating brokers in Java applications and simplifying the implementation

of JMS clients.

?

同样,你也看到了,不管是在Java程序中嵌入代理还是使用spring 实现JMS 客户端,ActiveMQ可以

和Spring框架结合的很好.

?

We covered some advanced programming techniques with ActiveMQ as well. The

request/reply pattern was explained in terms of the benefits it brings to your application’s

architecture and how to implement it using ActiveMQ. Lastly, we revisited the

portfolio example from chapter 3 in order to refactor it to use Spring JMS. Though

only the basics of Spring JMS were demonstrated here, its capabilities are powerful

and incredibly streamlined, and we encourage you to read more about it for your

applications.

?

本章中,我们同样涉及了一些关于ActiveMQ的高级编程技术.本章还介绍了使用请求/响应设计模式可以给

应用程序架构带来的好处,并使用ActiveMQ实现了这个模式.最后,我们使用Spring JMS重构了第3章中使用的

portfolio实例.尽管只介绍了Spring JMS的一些基本概念,但使用这些基本概念提供的功能已经十分强大和高效

了,我们推荐你阅读更多的Spring JMS相关内容.

?

The next chapter focuses on ActiveMQ integration options with various Java EE containers.

You’ll see how ActiveMQ can be used in conjunction with Java application servers

such as Apache Geronimo and Apache Tomcat, for example, and how to use JNDI.

?

下一章将关注ActiveMQ和各种Java EE容器的集成.你将看到如何将ActiveMQ与Java服务器程序

(Apache Geronimo 和Apache Tomcat)集成起来,比如,你将看到如何使用JNDI.

热点排行