由买买提看人间百态

topics

全部话题 - 话题: beans
首页 上页 1 2 3 4 5 6 7 8 9 10 (共10页)
b***i
发帖数: 3043
1
来自主题: Java版 - Spring的新手问题

http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd ">

class="org.springframework.jdbc... 阅读全帖
d****i
发帖数: 4809
2
我也没搞过那些ORM,hibernate/JPA等等都是ORM,就是把数据库里面的relational
data变成你的Java里面的对象。我直接用Spring JDBC而没用ORM,已经可以满足我的需
求,觉得还不错。那个beans.xml一般是你自己创建的,用来定义Spring bean。比如你
这个要接mysql的话(假设在同一host上),大抵是这样的:




阅读全帖
z*******3
发帖数: 13709
3
来自主题: Programming版 - Pivotal Drops Groovy and Grails

beans没有标准,所有的java文件都是beans
只不过换个名字而已,所以spring说pojo
plain ordinary java object
意思就是你不需要遵循标准,没有标准,没有接口没有抽象类需要你去impl
随便拿一个java文件,这就是bean
spring通过xml和annotation来管理这些bean
所以你原来java怎么写,以后还怎么写,只需要在xml和annotation上告诉spring就好了
所以spring是一种非侵入式的框架,不像ejb早期,需要你impl接口或者抽象类
这个侵入就比较强
serialisable是一个interface,marker interface啊
如果你不垮虚拟机调用的话,你不需要impl这个
如果你垮虚拟机调用bean的话,才需要额外把这个接口写上去
做个标注,这样虚拟机就知道你需要序列化这个bean
g**s
发帖数: 298
4
加州一小学菜单.有*是素食(选一样)** 含猪肉.穷人可填表申请减价或免费.
JANUARY 2011
FREMONT UNIFIED SCHOOL DISTRICT LUNCH MENU
$2.75 Daily
*Vegetarian **Pork MENU SUBJECT TO CHANGE
MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY
January 3
Hot Dog, Turkey
*Taco Hot Pocket
4
Chicken Taquitos w/Refried
Beans
*Bean & Cheese Burrito
5
Cheeseburger
*Garden Burger w/Cheese
6
Turkey Lasagna w/Marinara
Sauce
*Cheese Lasagna w/Marinara
Sauce
Wheat Dinner Roll
7
Fish & Chips
*Grilled Cheese Sandwich
Fruit Cobbler
10
Mini Taco Quesadillas
*Mini ... 阅读全帖
n********e
发帖数: 231
5
【 以下文字转载自 Chinook 俱乐部 】
发信人: nutcrackie (rebound-- NOW acceptable), 信区: Chinook
标 题: 与王室为邻之--中美大战(鹌鹑,黑鳕鱼,海鲈鱼,生拌牛肉)
发信站: BBS 未名空间站 (Wed Sep 26 08:08:30 2012, 美东)
L'etranger, 陌生人, 是一个法式餐厅, 离我的后花园,海德公园咫尺之遥。 (关于
海德公园的典故请看这里 http://blog.sina.com.cn/s/blog_a3b3394c01014ap3.html ) .
L'etranger 的大门,其貌不扬,大多数英国的餐厅,门面看起来都普普通通。
"
餐厅斜对面的建筑,以前竟被我忽略了。肯辛顿区大多是维多利亚时代建筑,两根大白
柱子支起的漂亮房子,可谓大家闺秀,突然见到一栋哥特和拜占庭风格的结合体(
Venetian Gothic Byzantine),不觉眼前一亮,小家碧玉也很可人。
"
陌生人,虽 是一个法式餐厅,但调味加入了日本因素。法式烹饪和日式烹饪可以说是
名副其实的陌生人, 但厨师功... 阅读全帖
I******a
发帖数: 3812
6
http://gyral.blackshell.com/names.html
Visit the original once in a while. Apparently, it's chock full o' updates.
Slur Represents Reasons/Origins
51st Stater Canadians Self-explanatory.
Abba-Dabba Arabs Used in the movie "Betrayed" by rural American hate group.
Abo Australian Aboriginal Derogative shortened term for Aboriginal.
Adolf Germans Hitler, of course. Generally thought of the worst person ever.
Ahab Whites From Moby-Dick. Ahab hunted the white whale.
Ainu Japanese Aboriginal Originall... 阅读全帖
D*********n
发帖数: 279
7
来自主题: Military版 - Native Americans in the United States
http://en.wikipedia.org/wiki/Native_Americans_in_the_United_Sta
Native Americans in the United States
From Wikipedia, the free encyclopedia
Jump to: navigation, search
"American Indian" redirects here. For other indigenous peoples, see
Indigenous peoples of the Americas and other geographic regions. For
Americans from South Asia, see Indian American.
This article may be too long to read and navigate comfortably. Please
consider splitting content into sub-articles and/or condensing it. (January
2... 阅读全帖
s*f
发帖数: 1071
8
家喻户晓的星巴克咖啡,1987年诞生于华盛顿州西雅图市。店名来源于赫尔曼.麦尔维
尔所创作的小说《大白鲸》,该部作品描述了19世纪的捕鲸故事,所以最开始的商标是
双尾美人鱼木雕图案。渐渐的,咖啡越来越被人们所喜爱,仅20年时间里,星巴克一跃
成为全球巨型的连锁咖啡集团。靠咖啡豆起家的星巴克,现已推出了多款手工制作的浓
缩咖啡,饮料,糕点。
作为星巴克的忠实粉丝,满怀着激动兴奋的心情,笔者在此为大家献上星巴克Secret
Menu的总结。希望大家能跟小分队一起品尝口味香醇的咖啡饮品以及清凉舒适的冷饮,
感受那淡淡的小资情调~
如果店员不知道怎么制作,记得把配方给他/她们过目。
友情提示:因每家星巴克地点位置不同,季节变化,可能无法享受到下面介绍的每一款
饮品,推荐仅做参考
► 星冰乐
1. Caramel Apple Frappuccino 焦糖苹果星冰乐
清新的苹果汁加上浓郁的焦糖味,有着不一样的口感体验。
配方:
Start with apple juice to the bottom line of the cup
Add Matcha powder (½ ... 阅读全帖
l*****a
发帖数: 38403
9
second whole foods, tons of organic stuff, 翻译几个豆类
mung bean, 绿豆
azuki bean 红豆
black turtle bean 黑豆
pinto bean 菜豆
split bean 豌豆
corn meal 玉米面
C********g
发帖数: 9656
10
来自主题: Food版 - China's Hottest Cuisine
http://air.wsj.com/article/SB1000142405274870395910457608277285
Yes, it's spicy. But what exactly makes Sichuan food so special?.Article
Comments (5) more in Food & Drink ».EmailPrintSave This ↓ More.
By MITCH MOXLEY
CHENGDU—Chef Zhou Shizhong's chopping knife is poised for the kill.
"You have to be quick," he tells his class, a soft-shelled turtle squirming
under his palm. "Or else it'll keep hiding."
James Wasserman for The Wall Street Journal
Dry pot mushrooms with tea leaves at Wen Xia... 阅读全帖
n********e
发帖数: 231
11
【 以下文字转载自 Chinook 俱乐部 】
发信人: nutcrackie (rebound-- NOW acceptable), 信区: Chinook
标 题: 与王室为邻之--中美大战(鹌鹑,黑鳕鱼,海鲈鱼,生拌牛肉)
发信站: BBS 未名空间站 (Wed Sep 26 08:08:30 2012, 美东)
L'etranger, 陌生人, 是一个法式餐厅, 离我的后花园,海德公园咫尺之遥。 (关于
海德公园的典故请看这里 http://blog.sina.com.cn/s/blog_a3b3394c01014ap3.html ) .
L'etranger 的大门,其貌不扬,大多数英国的餐厅,门面看起来都普普通通。
"
餐厅斜对面的建筑,以前竟被我忽略了。肯辛顿区大多是维多利亚时代建筑,两根大白
柱子支起的漂亮房子,可谓大家闺秀,突然见到一栋哥特和拜占庭风格的结合体(
Venetian Gothic Byzantine),不觉眼前一亮,小家碧玉也很可人。
"
陌生人,虽 是一个法式餐厅,但调味加入了日本因素。法式烹饪和日式烹饪可以说是
名副其实的陌生人, 但厨师功... 阅读全帖
n********e
发帖数: 231
12
【 以下文字转载自 Chinook 俱乐部 】
发信人: nutcrackie (rebound-- NOW acceptable), 信区: Chinook
标 题: 与王室为邻之--中美大战(鹌鹑,黑鳕鱼,海鲈鱼,生拌牛肉)
发信站: BBS 未名空间站 (Wed Sep 26 08:08:30 2012, 美东)
L'etranger, 陌生人, 是一个法式餐厅, 离我的后花园,海德公园咫尺之遥。 (关于
海德公园的典故请看这里 http://blog.sina.com.cn/s/blog_a3b3394c01014ap3.html ) .
L'etranger 的大门,其貌不扬,大多数英国的餐厅,门面看起来都普普通通。
"
餐厅斜对面的建筑,以前竟被我忽略了。肯辛顿区大多是维多利亚时代建筑,两根大白
柱子支起的漂亮房子,可谓大家闺秀,突然见到一栋哥特和拜占庭风格的结合体(
Venetian Gothic Byzantine),不觉眼前一亮,小家碧玉也很可人。
"
陌生人,虽 是一个法式餐厅,但调味加入了日本因素。法式烹饪和日式烹饪可以说是
名副其实的陌生人, 但厨师功... 阅读全帖
q*********u
发帖数: 280
d**e
发帖数: 6098
14
☆─────────────────────────────────────☆
gezwenti (gezwenti) 于 (Sun Feb 28 12:23:17 2010, 美东) 提到:
( 版主能给几个包子吗? 我从没得过包子, 说的也都是个人真实体验)
真的。 本人在墙街做IT已经六年多了, 拿的也是很普通的薪水, 我现在的Total是135K + 10-25% Bonus (奖金时好时坏, 大致在10% 到 25% 之间)
我只会Java/J2EE。 不会C++, 一点都不会。
现在的Project是做Post-Trading的Changing P&L, Position Calulation.整个
Department是Support Equity Trading的, 公司也是大家都知道的大投行。
我以前的面试经验, 包括我周围IT朋友的面试经验 从来没被问过本版这么难的问题,
1) B-Tree, Graph 这些都太难了, 从没被问过。 最多就问个Binary Tree, 遍历二叉
树。 红黑树都没问道过, 面试官自己都不知道。
2) 数据结构, 最多就问问... 阅读全帖
j*******l
发帖数: 1066
15
Spring Framework很大 现在用的最多的component就是楼上说的DI
如果是新代码 建议采用jsr-330 Java config (1)
如果是老代码 也可以适当掌握spring xml bean的写法(2) 大概能理解能维护就行了
1. http://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html#beans-standard-annotations
2. http://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html#beans-definition
g*********s
发帖数: 280
16
来自主题: NextGeneration版 - 新糖妈问题
两个小时的,主要是1小时候的超太多,竟然有200多!2小时的border line。所以营养
师要我测饭后1小时的数据。豆制品是指tofu, bean curd之类的,营养师说tofu很好,
让我放开吃。我营养师说beans里面只有green beans可以吃,其他各色beans都得算
carbs。我根本就不爱吃beans,所以没损失。
m**k
发帖数: 18660
17
来自主题: Parenting版 - 小孩子吃绿豆芽健康么?
http://www.livestrong.com/article/41769-bean-sprouts-nutrition-
Basic Nutrition
The caloric value of the three types ranges from mung sprouts with only 30
calories to lentil sprouts with 106 and soybean sprouts with 122. Their
protein values range from three grams (mung sprouts) to 13 grams (soybean
sprouts). This makes them a good source of protein because three grams
represents 6 percent and 13 grams equals 26 percent of the recommended daily
value (DV). They're all low in total fat and carboh... 阅读全帖
b******0
发帖数: 171
18
先申明一下:我就是楼主转发写文章的妈妈。
这个版面我从未来过,我的这位好心朋友替我转发了这篇本想鼓励她的文字,很抱歉让
大家引起很多疑惑。
首先作为母亲不会对自己的孩子漠不关心,正因为有老大,所以一开始对儿子的一些问
题就有疑问,正如我文章开头所说。后来由于有老公和公公的“共识”(男孩发育比女
孩晚)使我一度解除了疑惑;而且由于我是全职妈妈,所以把儿子送幼儿园的时间很晚
,已经快4岁才送去,送去后两个月,发觉不对劲才去学校观察;然后才去找医生评估
。评估时间的长短,有MM认为6个小时太久,任何一个负责的医生都会需要时间来观察
诊断这类疾病,我们当时诊断化的钱是保险公司付的;后来到学区又评估了一次,那次
化的时间更久,除了心理科医生还有一个学区的资深语言治疗师,前后化了2个多月时
间,所以等开完IEP(个人学习计划)会议,已接近暑假,刚巧老公公司派他来麻州,
所以加州给的那个班没上,直接来了麻州。我觉得我儿子的晚诊断,是由于我的“无知
”造成的,所以在此想提醒如果有怀疑的妈妈们一定要早警觉,因为这种“病”越早干
预,预后效果越好。
至于三个大男人强迫儿子穿一双新鞋的事儿,我可以给你们解释... 阅读全帖
n********e
发帖数: 231
19
【 以下文字转载自 Chinook 俱乐部 】
发信人: nutcrackie (rebound-- NOW acceptable), 信区: Chinook
标 题: 与王室为邻之--中美大战(鹌鹑,黑鳕鱼,海鲈鱼,生拌牛肉)
发信站: BBS 未名空间站 (Wed Sep 26 08:08:30 2012, 美东)
L'etranger, 陌生人, 是一个法式餐厅, 离我的后花园,海德公园咫尺之遥。 (关于
海德公园的典故请看这里 http://blog.sina.com.cn/s/blog_a3b3394c01014ap3.html ) .
L'etranger 的大门,其貌不扬,大多数英国的餐厅,门面看起来都普普通通。
"
餐厅斜对面的建筑,以前竟被我忽略了。肯辛顿区大多是维多利亚时代建筑,两根大白
柱子支起的漂亮房子,可谓大家闺秀,突然见到一栋哥特和拜占庭风格的结合体(
Venetian Gothic Byzantine),不觉眼前一亮,小家碧玉也很可人。
"
陌生人,虽 是一个法式餐厅,但调味加入了日本因素。法式烹饪和日式烹饪可以说是
名副其实的陌生人, 但厨师功... 阅读全帖
n********e
发帖数: 231
20
【 以下文字转载自 Chinook 俱乐部 】
发信人: nutcrackie (rebound-- NOW acceptable), 信区: Chinook
标 题: 与王室为邻之--中美大战(鹌鹑,黑鳕鱼,海鲈鱼,生拌牛肉)
发信站: BBS 未名空间站 (Wed Sep 26 08:08:30 2012, 美东)
L'etranger, 陌生人, 是一个法式餐厅, 离我的后花园,海德公园咫尺之遥。 (关于
海德公园的典故请看这里 http://blog.sina.com.cn/s/blog_a3b3394c01014ap3.html ) .
L'etranger 的大门,其貌不扬,大多数英国的餐厅,门面看起来都普普通通。
"
餐厅斜对面的建筑,以前竟被我忽略了。肯辛顿区大多是维多利亚时代建筑,两根大白
柱子支起的漂亮房子,可谓大家闺秀,突然见到一栋哥特和拜占庭风格的结合体(
Venetian Gothic Byzantine),不觉眼前一亮,小家碧玉也很可人。
"
陌生人,虽 是一个法式餐厅,但调味加入了日本因素。法式烹饪和日式烹饪可以说是
名副其实的陌生人, 但厨师功... 阅读全帖
p***y
发帖数: 18037
21
来自主题: NewYork版 - 法拉胜的故乡味上纽约时报
Behold the Bobbing Fish Head
New York Times
February 8, 2011
By SAM SIFTON
http://www.nytimes.com/2011/02/09/dining/reviews/09rest.html?sr
JERRY TANG, a son of the late Chinese chef Shorty Tang, was talking about
the business of running Chinese restaurants in New York. This was last week,
during Chinese New Year, over coffee in Brooklyn.
Mr. Tang, 55, has had a long career in the city’s Chinese restaurants. His
father worked with the great restaurateur David Keh, who had Auntie Yuan, a
Hunan res... 阅读全帖
z********0
发帖数: 9013
22
In the case of coffee, various methods can be used. The process is usually
performed on unroasted (green) beans, and starts with steaming of the beans.
They are then rinsed with a solvent that extracts the caffeine while leaving
the other essential chemicals in the coffee beans. The process is repeated
anywhere from 8 to 12 times until it meets either the international standard
of having removed 97% of the caffeine in the beans or the EU standard of
having the beans 99.9% caffeine-free by mass.
... 阅读全帖
s*******t
发帖数: 7746
23
来自主题: loseweight版 - 天啊,豆类的热量都不低啊
一直以为beans是健康食品,周末买了乱七八糟一堆organic beans (chick peas,
kidney beans,black beans等),熬了一大锅粥,好好吃,两小娃也爱吃,呵呵。我吃
了两碗,估计有3 cup,吃完好饱的感觉。刚刚查了,这些bean 1 cup差不多是250卡,
1g fat,15g protein,45g carb!又不知不觉中吃爆了,今晚回家要狠狠的跑啊
t*********t
发帖数: 4766
24
来自主题: Running版 - 跑步与猝死 zt
Agree.
Actually when the probability is really low, the comparison between
different groups doesn't mean much. For example, in one sample (group A) you
got 1 bad bean out of 10000 beans, and the other sample (Group B) you got 2
bad beans out of 10000 beans. You can claim that Group B's 'Bad Bean
Probability' is 200% of Group A from the study. While it is a fact, it is
very misleading as it can be the result of a purely random outcome.
If you change 1 to 1000 and 2 to 2000, it is a different stor... 阅读全帖
j***y
发帖数: 5098
25
来自主题: Running版 - [合集] 版面征文:跑鞋
☆─────────────────────────────────────☆
yhflogan (滚滚长江都是水) 于 (Mon Jul 11 00:18:51 2011, 美东) 提到:
各种各样的跑鞋名目繁多,争论也从来没停止过。
现在正式征文,请大家踊跃投稿。
建议包括以下topic
1. 跑鞋种类(per pronation: stability, neutral, ...) per function: training,
racing flat, trail run...
2. 常见跑鞋品牌(记得以前谁提过)
3. 如何选择跑鞋,跑鞋的寿命...
4. 跑鞋与跑步姿势
5. 跑鞋与伤病
6. 其他相关
要求
言简意赅
☆─────────────────────────────────────☆
Rodimus (变叔- VFF 24mi) 于 (Mon Jul 11 00:52:39 2011, 美东) 提到:
这篇算不算啊, 有图有真相:
http://www.mitbbs.com/article/Running/31411175_3.html
☆─... 阅读全帖
M**********e
发帖数: 4237
26
来自主题: Soccer版 - 足球运动员的饮食控制ZZ
PLAYERS!
Competition is stiff!
Give yourself the edge
and
Help yourself to be the very best you can be!
What you put into your body does affect your energy level
Read the great advice and tips below.
With thanks to Health Consultant
Diana McKenzie, RN
Soccer is a fast paced, intense, competitive sport, and the demands on a
players’ body can be incredible. During a game, a player is in constant
motion
for 30-45 minutes at one time, depending on age and level of play, followed
by
a 10 minute break... 阅读全帖
a****a
发帖数: 26187
27
中文名称拉丁文学名英文名称
果树
苹果Malus pumila Millapple
山定子M.baccata(L.)crab apple
梨Pyrus spp.pear
秋子梨P.ussuriensis Maximussurian pear
山楂Crataegus pinnatifida Bge.haw thorn
桃Prunus persica (L.) Batsch.peach
扁桃(巴旦杏)P. amygdalus Stokesalmond
杏P.armeniaca L.apricot
李Prunus spp.plum
樱桃P. speciescherry
梅P. mume Sieb. et Zuccmume
核桃Juglans regia L.walnut
板栗Castanea mollissima Bl.Chinese chestnut
银杏(白果)Ginkgo biloba L.maiden-h... 阅读全帖
w****p
发帖数: 90
28
艺术家其实挺冤枉的。 这个Anish Kapoor 可是当代数一数二最伟大的艺术家之一。近
些年在TATE MODERN的个人展览可谓是叹为观止。
他设计的芝加哥市中心的 Millennium Park 的bean 可以说是当今世界上最成功,最受
欢迎的公共艺术,没有之一。 这件艺术作品和bean是同样的构造方式,只是bean对外
表打磨的技术要求更高。 想想看,要是bean被称做是国王的蛋蛋,会是什么结果??
?其实还是那个bean,只是称呼不同而已。
可就因为设计了这么个有争议的东西,人们的记忆就到次为止了。 同样还有艾未未,
被俗人记住的就是那个什么一虎八奶图,没有几个人知道艾未未还有那么多优秀伟大的
作品,而且对中国古建筑的推崇当代的中国艺术家里面无人能及。
感叹俗人就是光纠结名称这些表面的东西而忽略了艺术的本身。
也许这就是那么多的艺术作品被称为 untitled 的原因吧,称做无名之后,反而人们更
注重艺术本身。 而不是艺术是叫张三还是李四。
n********e
发帖数: 231
29
【 以下文字转载自 Chinook 俱乐部 】
发信人: nutcrackie (rebound-- NOW acceptable), 信区: Chinook
标 题: 与王室为邻之--中美大战(鹌鹑,黑鳕鱼,海鲈鱼,生拌牛肉)
发信站: BBS 未名空间站 (Wed Sep 26 08:08:30 2012, 美东)
L'etranger, 陌生人, 是一个法式餐厅, 离我的后花园,海德公园咫尺之遥。 (关于
海德公园的典故请看这里 http://blog.sina.com.cn/s/blog_a3b3394c01014ap3.html ) .
L'etranger 的大门,其貌不扬,大多数英国的餐厅,门面看起来都普普通通。
"
餐厅斜对面的建筑,以前竟被我忽略了。肯辛顿区大多是维多利亚时代建筑,两根大白
柱子支起的漂亮房子,可谓大家闺秀,突然见到一栋哥特和拜占庭风格的结合体(
Venetian Gothic Byzantine),不觉眼前一亮,小家碧玉也很可人。
"
陌生人,虽 是一个法式餐厅,但调味加入了日本因素。法式烹饪和日式烹饪可以说是
名副其实的陌生人, 但厨师功... 阅读全帖
h*****t
发帖数: 395
30
来自主题: XMU版 - A dish from my hometown:
Bagongshan Bean Curd
Materials:
250g Bagongshan bean curd
25g cooked bamboo shoots
50g soaked black fungus
10g shrimp roe
Preparations:
Cube the bean curd, put in cold water and boil, remove and
drain off the water.
Slice the bamboo shoots.Coat the bean curd with cornstarch
paste and deep-fry in 50% heated oil until golden.
Saute shrimp roe, bamboo shoots and black fungus in 50%
heated oil, add bean curd, condiments and water, thicken
with cornstarch and toss a few times.
s***e
发帖数: 122
31
来自主题: Java版 - Java笔试题分享-EJB
觉得这些EJB的题主要是针对2.0的,针对3.0的好像不多或者没有。我这部分错得比较
多一些 :o)
1. The developer is creating an application with security requirements on
individual methods of a bean managed entity bean. Where are these
requirements realized?
A These requirements cannot be met with a bean managed entity bean.
B In the deployment descriptor.
C The developer must call the setSecurityCharacteristics() method in the
bean's ejbCreate().
D In a Java.util.properties file that is loaded at deployment time.
E A HashTable must be def
c******n
发帖数: 4965
32
now in spring, as long as I write a in the .xml, it will be
created (lazily ??),
I wonder if there is a way to disable creating an bean depending on
properties settings, for example, my main bean is



let's say I decide that I won't give salary to employees in some cases, so
I don't need to use the salaryQueryer, is there a way to disable creating
the mySalaryQueryer at all? (with... 阅读全帖
s******e
发帖数: 493
33
来自主题: Java版 - j2ee web 方向的职业规划
ejb 1.0 was pain in ass to use. That was part of reason rod johnson wrote
his famous book "... development without ejb" sorry forgot the exact book
name. it was also part of reason Gavin king started the hibernate and Rod
john start spring. To provide a lightweight entity mapping DB entity, and a
lightweight business container to practice "code to interface and
dependency injection" which actually originally eyed on session bean and
message bean. Spring eventually evolve to sth like a god frame... 阅读全帖
s******e
发帖数: 493
34
来自主题: Java版 - j2ee web 方向的职业规划
ejb 1.0 was pain in ass to use. That was part of reason rod johnson wrote
his famous book "... development without ejb" sorry forgot the exact book
name. it was also part of reason Gavin king started the hibernate and Rod
john start spring. To provide a lightweight entity mapping DB entity, and a
lightweight business container to practice "code to interface and
dependency injection" which actually originally eyed on session bean and
message bean. Spring eventually evolve to sth like a god frame... 阅读全帖
z****n
发帖数: 1933
35
来自主题: Java版 - 请教一个spring的问题
定义一个接口
public interface DataAccessDao
实现
public class DataAccessDaoImpl implements DataAccessDao
单元测试
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:spring/DataAccessTest.xml")
public class DataAccessTest
{
@Autowired
private DataAccessDaoImpl dataAccessDao;
spring配置

然后出错, org.springframework.beans.factory.NoSuchBeanDefinitionException:
No matching bean o... 阅读全帖
e*****t
发帖数: 1005
36
来自主题: Java版 - 说说spring和ejb的差别
这篇是好文,讲的历史沿革,还有层次都很清晰。
吹毛求疵一点点:
1. ejb刚出来的时候,persistence tier主流不是hibernate,应该是jdbc,至于ORM,
应该最热的是iBais。当然hibernate是在ejb2年代热起来的,所以ejb3搞jpa就直接弄
来Gavin King,照搬了hibernate
2. Spring当初是lightweight,现在整个spring一点也不light,应该是比javaEE整个标
准加起来都庞大,只不过大家平日只是用到其中一部分而已:Spring core, Spring
security, Spring MVC, and etc...
3. Entity bean还是JavaEE的概念,Spring那帮人就是不好那个,所以搞POJO.所以提
到data object时,对于spring,还是说pojo来的比较好。
4. Hibernate是red hat的,jboss也是red hat的。不过hibernate至少现在不是jboss的。
5. Spring最初也不过是从POJO, IoC,和transaction搞起来的... 阅读全帖
z*******3
发帖数: 13709
37
来自主题: Java版 - 本菜对EJB一问
business logic理论上是无状态的
换句话说,business这一层做的事情
一不碰web,二不碰persistence
只处理逻辑,最理想的business bean理论上都应该是无状态的
我们举个例子
比如有一个阿三,从web上发了一个request过来
那么如何handle这个request是web层的事
最基础的就是servlet了,然后是spring mvc,或者是struts,或者jsf etc.
然后这一层的这些东东把request里面的变量给取出来
包装成一个pojo,就是一个实体,set/get这些东西
然后把这个pojo留住,这是第一步
这一层是web层,spring里面叫做controller
或者是struts里面的action这些东西,这些都是controller
mvc里面其它的m就是刚才做的那个pojo
v就是jsp这些东西
然后第二步,用hibernate,ibatis等jpa实现包装db
封装所有的db操作,这是persistence层
一般来说你会写出一堆的dao类去封装各种db的操作
比如增删改查等等
spring里面叫做reposito... 阅读全帖
B*****g
发帖数: 34098
38
来自主题: Java版 - 我也来问问题了
class="org.springframework.orm.jpa.JpaTransactionManager"
p:entityManagerFactory-ref="entityManagerFactory" />
class="org.springframework.orm.jpa.
LocalContainerEntityManagerFactoryBean">



阅读全帖
c******n
发帖数: 4965
39
my impression is that it provides something similar to beans in java Spring,
so that other users can just grab your beans from your package.
but then it brings me to the very question of the point of using Spring
beans: why can't we simply use a factory class ? in fact in Spring
annotation-based configuration, you have something like :
@Bean(name="mybeanName")
MyBeanClass getMyBean() {
return ...
}
this is exactly a factory class , as we use them before Spring. the only
extra is adding this bean... 阅读全帖
c******n
发帖数: 4965
40
【 以下文字转载自 Linux 讨论区 】
发信人: creation (努力自由泳50m/45sec !), 信区: Linux
标 题: discussion: why do we need entry_points in python (setup_tools) ?? --- and others
发信站: BBS 未名空间站 (Fri Oct 18 03:29:57 2013, 美东)
my impression is that it provides something similar to beans in java Spring,
so that other users can just grab your beans from your package.
but then it brings me to the very question of the point of using Spring
beans: why can't we simply use a factory class ? in fact in Spring
annotation-based c... 阅读全帖
x**********0
发帖数: 163
41
来自主题: Statistics版 - Null Hypothesis
I have seen a similar one in a textbook.
There are two identically appearing bowls of jelly beans. Bowl 1 contains 60
red and 40 black jelly beans, and bowl 2 contains 40 red and 60 black jelly
beans. Therefore, the proportion of red jelly beans, p, for the two bowls
are
Bowl 1: p = 0.6
Bowl 2: p = 0.4.
One of the bowls is sitting on the table, but you do not know which one it
is.
You suspect that it is bowl 2, but you are not sure.
To test your hypothesis that bowl 2 is on the table, you sample... 阅读全帖
z*******n
发帖数: 1034
42
来自主题: MobileDevelopment版 - 【教程】在Ubuntu下编译CM11
http://en.wikipedia.org/wiki/CyanogenMod
CyanogenMod
本條目存在如下問題,請協助改善本條目或在討論頁針對議題發表看法。
本条目需要更新。 (2013年12月21日)
本条目需要补充更多来源。 (2012年5月19日)
本条目需要編修,以確保文法、用詞、语气、格式、標點等使用恰当。
CyanogenMod CyanogenMod-logo.pngCyanogenMod 10 homescreen screenshot.png
開發者 Cyanogen(Steve Kondik)/CyanogenMod 團隊
作業系統家族 嵌入式作業系統
源码模式 免費開放原始碼軟體
初始版本 3.1(HTC Dream 和 HTC Magic)
穩定版本 10.2 / 2013年12月2日;5個月前
測試版本 11.0 M2 / 2014年1月3日;4個月前
市場取向 供Android裝置的韌體
支持的语言 多语言
支持的编程语言 核心:C
部份函式庫:C++
使用者介面:... 阅读全帖
w*******y
发帖数: 60932
r********n
发帖数: 7441
44
发信人: conti (conti), 信区: TsinghuaCent
标 题: zz pk饶毅进入第二轮的张旭的背景
发信站: 水木社区 (Sun Aug 28 15:38:09 2011), 站内
如果神经方向就只能上一个候选人,那么张旭入选还真是一点也不出格
发信人: WeiLiao (WeiLiao), 信区: Biology
标 题: 张旭的publications
发信站: BBS 未名空间站 (Sun Aug 28 01:39:20 2011, 美东)
去查了一下,张旭总共发表了90多篇英文文章(不算中文)。回国之后作为联系作者也
有快20篇了。其中有cell, neuron, Journal of neuroscience, PNAS 好多篇。
而且他
1995年就回国了,那个时候国内的环境有多差不用说了吧。这也快20年了。比饶益
2007
年才全职回去多了12年。比起培养的中国学生也多多了,算国内贡献肯定不会小。如果
他一直留在国外,成就未必就比饶差。谁把饶益的文章列一列。国内多少篇,总共多少
篇,培养了多少中国学生?
1. Li KC, Wang F, ... 阅读全帖
G***G
发帖数: 16778
45
来自主题: Military版 - 本是同根生,相煎何太急
good. thanks.
I just realized that I didn't understand the Chinese poem at all.
why is it the bean not the beanstalk that cries?
'cook bean with beanstalk' can be misunderstood as 'cook bean and beanstalk
together'
who is bean and who is beanstalk, caozhi or his brother?
y******u
发帖数: 246
46
95-YEAR-OLD VET DEAD AFTER RESISTING MEDICAL TREATMENT, TASED AND SHOT WITH
BEAN BAGS BY COPS
Family members are questioning the death of a 95-year-old WWII U.S. Air
Corps sergeant who killed by cops at an assisted living center last month
after resisting medical treatment.
John Wrana died from injuries sustained in an incident, which was later
ruled as a homicide by the medical examiner, by Park Forest police on July
27. Police were called to Victory Centre, according to the Chicago Tribune,
wh... 阅读全帖
X1
发帖数: 1823
47
来自主题: Military版 - 高压锅煮豆子行不行
我买了还没到,先问一下可不可以做beans。传统的refried beans前后要花三小时以上
,光simmer就要两个小时 https://keitopotato.wordpress.com/2012/03/02/garlicky
-salvadoran-refried-beans/


: Instant pot专门有一档是bean

: 这两天特价 https://www.amazon.com/Instant-Pot-IP-LUX60-Programmable-
1000-

: Watt/dp/B0073GIN08

b********n
发帖数: 38600
48
Stories: Trump’s Tariffs Betray Base
https://terribletariffs.com/stories/
Then there are the countless farmers and exporters who have seen their
markets dry up as trading partners impose retaliatory tariffs.
'47 Brand Hats: The Massachusetts company, which faces higher raw material
costs thanks to Trump's tariffs, cannot find domestic suppliers to produce
hats. It is considering job cuts to compensate.
5th Avenue Energy: This small California renewable energy firm found that
lighting fixtures an... 阅读全帖
h*****n
发帖数: 2688
49
国家:瑞士
午餐包含: 马玲薯, 包菜和豆, 再加点餅干和果汁.
国家:日本
午餐包含: 面食, 乌冬,乳酪参与日本小菜(鱼醤), 柑桔, 牛奶
国家:中国
午餐包含: 鱼, 蛋与番茄醤,米飯, 波菜, 椰花菜和汤
国家:印度
午餐包含: 米飯, 醤料,咖哩, 马沙拉
国家:英国
Ingredients: potatoes, peas and other ingredients are unfortunately not
known.
国家:坦叁尼亞
Ingredients: ugali (maize meal porridge), chicken, greens, sauce, salad
with
watermelon.
国家: 捷克共和国(布拉格)
Ingredients: soup, rice with chicken goulash, dessert, juice and hot
tea.
国家: 南韩
Ingredients: kimchi, pork, bean sauce (sammjang), cabbage soup.
国家:马拉威
Ingredients: bea... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 (共10页)