Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Architecture & Framework  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Spring and EJB2 integration
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2005-10-25 11:16 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
更新了两个错误,我都不知我当时在想什么。见谅。

加了2小节, Exception and testing.

Spring EJB2 Tutorial.pdf (919.6k)


floater edited on 2005-11-18 12:02

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler, Refactoring - Improving the Design of Existing Code
作者 Re:Spring and EJB2 integration [Re:floater]
YuLimin

简单就是美

版主


发贴: 866
积分: 123
于 2005-10-25 13:16 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
好,不过,算我贪心点,怎么不把前面的也放出来:)


 当兵不后悔!后悔不当兵! 
超越黎明时空,追逐时代潮流!
人,是要靠自己的!简单就是美!
我的Java:http://www.Java2Class.net
我的Blog:http://YuLimin.ItEye.com
作者 Re:Spring and EJB2 integration [Re:floater]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2005-10-25 21:11 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
sorry, the number is misleading. That's just my placeholders for different categories. So really, that's it, along with spring web, spring & ibatis, spring core.

When writing a topic, I think we have to have:
1. enough practice and interesting examples.
2. can see through the details to get the big picture.

So this is all I have now, no further plan yet. Some of the interesting topics are JCA, JMX, JMS.



"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler, Refactoring - Improving the Design of Existing Code
作者 Re:Spring and EJB2 integration [Re:floater]
jigsaw

KK

CJSDN高级会员


发贴: 3666
积分: 93
于 2005-10-29 20:00 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
spring对jms的支持不够深入(跟spring对persistance的支持比较起来)
感觉那个template不象template 就一个helper而已
所以现在有些lib在spring的基础上做了些jms的活 不过不敢用 毕竟好象没看到有人用
期待floater在这方面的高见



No one knows except both of us.
909090909090909090909090909090909090909090b8533ce76c8d6c241868968a0408c338b4ffbf
ISO/IEC 9899:1999
作者 Re:Spring and EJB2 integration [Re:floater]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2005-10-29 21:18 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
my understanding on jms is:
on the sender side, spring's jmstemplate is enough. The problem is on the receiving side. If there are a huge pile of msgs that need to be consumed, then single thread is not enough, and thus we want "concurrently" consume the msgs. The most currently used methods are:
1. session pool (google "weblogic session pool" for references). but this method is superceded by
2. mdb. However, the inflexibility of configuration of mdb(which is generic to ejb) is a pain too.
On the hint of Spring & POJO, there is a realization of the idea using POJO concurrently, like you said. We need more time to evaluate this. So for huge volumes of msg, mdb is the way to go, right now.

The idea of running POJO consumer concurrently is quite smart, it lays itself on top of JCA, which handles most of the concurrency and transactions (otherwise we have to do it). So I think this should work, the only thing left is to work out the details. With the help of JCA, this shouldn't take long(though this idea may take a little long).

my 2 cents.



"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler, Refactoring - Improving the Design of Existing Code
作者 Re:Spring and EJB2 integration [Re:floater]
jigsaw

KK

CJSDN高级会员


发贴: 3666
积分: 93
于 2005-10-30 17:19 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
thx
hmm....i guess i won't take time to find other solutions than mdb,
otherwise i need to convince my vendors, then workshops, then report to my boss...which might be a boring task.
p2p only, multiple producers with only one consumer, quite simple..isnt it?



No one knows except both of us.
909090909090909090909090909090909090909090b8533ce76c8d6c241868968a0408c338b4ffbf
ISO/IEC 9899:1999
作者 Re:Spring and EJB2 integration [Re:floater]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2005-11-01 11:30 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
更新了两个错误,我都不知我当时在想什么。见谅。


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler, Refactoring - Improving the Design of Existing Code
作者 Re:Spring and EJB2 integration [Re:floater]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2005-11-18 12:02 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
加了2小节, Exception and testing.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler, Refactoring - Improving the Design of Existing Code

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923