由买买提看人间百态

topics

全部话题 - 话题: persistant
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
s**i
发帖数: 4448
1
Lol. There is simply no logic connection.
And here you go again, under this thread
ssri [ 27 ]
发信人: ssri (whocares), 信区: WaterWorld
标 题: Re: 尹榆的大儿子有一些自闭症这个我还是认为是真的
发信站: BBS 未名空间站 (Wed Jan 29 16:39:13 2014, 美东)
这样不是直接证据啊。也许是他们孩子严重程度不符合福利标准。
http://www.disabilitysecrets.com/conditions-page-2-53.html
Social Security Disability Claims on the Basis of Autism
The required level of severity for autistic disorders is met when the
following requirements are satisfied. A doctor must have found th... 阅读全帖
s**i
发帖数: 4448
2
Did you even read what I just pasted? Are you having trouble understanding
it?
http://www.disabilitysecrets.com/conditions-page-2-53.html
Social Security Disability Claims on the Basis of Autism
The required level of severity for autistic disorders is met when the
following requirements are satisfied. A doctor must have found the child has:
deficits in reciprocal social interaction
deficits in communication and imagination, and
a restricted repertoire of activities and interests (not... 阅读全帖
n**e
发帖数: 2026
3
来自主题: WaterWorld版 - 基佬人渣不要到处搅屎
在妄想症的问题上,你已经出尽了白痴相。你的所谓“质疑”一开始就表明了你的无知。
『妄想症的妄想是怪诞性的?还是非怪诞性的?逻辑混乱不混乱?』
微镜回答你:“妄想症的妄想是怪诞性的?还是非怪诞性的?”。对这个问题的回答可
以即肯定又否定,都是正确的。你不同意,说他信口雌黄。然后你表明了你的见解:
『妄想症的妄想是非怪诞性的,否则就不能做妄想症的诊断,这是妄想症的妄想与精神
分裂症的妄想的区别, 不存在“可以即肯定又否定,都是正确的”的答案。』
你为你的见解提供了“科学依据”如下:
Delusional disorder is an illness characterized by the presence of
nonbizarre delusions in the absence of other mood or psychotic symptoms.
In contrast, bizarre delusions, which represent the manifestations of more
severe types of psychotic illnesses (eg, sc... 阅读全帖
k******g
发帖数: 132
4
来自主题: WaterWorld版 - Nile,你根本就看不懂文献。
nile连DSM-5的有关文献都看不懂,连bizarre delusions,nonbizarre delusions的定
义,什么叫逻辑混乱都没有弄明白,以及对逻辑混乱在妄想症和精神分裂症的诊断中的
意义也不清楚,还有什么能力争论妄想症诊断?
I,
nile对DSM-5定义的bizarre delusions,nonbizarre delusions的理解让人不知其所云。
nile对bizarre delusions,nonbizarre delusions的理解:
bizarre delusions就是nile所谓内在逻辑混乱:Delusions are deemed bizarre if
they are clearly implausible, not understandable, and not derived from
ordinary life experiences。注意这两个关键词:不合理implausible,不可理解not
understandable。
而non-bizarre delusions相当于nile所说的前提错误,如果接受前提为真,患者并没
有内在... 阅读全帖
m*********r
发帖数: 35
5
这位糠薨,从你一开始提出的问题““妄想症的妄想是怪诞性的?还是非怪诞性的?”
,老夫就断定你在精神病方面是个十足的外行。你不过是在别人涉及到专业问题的时候
在网络上拼命查找想证明人家不懂。但是你没有鉴别专业信息的能力,也不了解学科的
进展。最终不过是遭人耻笑。
难道不是吗?你查出来的文献都把妄想症局限为非怪诞性妄想。你就以为捡到了宝,认
定妄想症必须是非怪诞性,还振振有词说怪诞性妄想就就精神分裂症而不是妄想症。却
没想到冒出来一个DSM-5。这个标准两年前就修改了。现行的妄想症标准怪诞性的也可
以是非怪诞性的。老夫告诉你既可以是肯定也可以否定,意思很清楚,就是即可是怪诞
的可以是非怪诞的。你还骂老夫信口雌黄。其实老夫的专业并不是精神病学,不过与精
神病学有很大的交叠。老夫也从来没有读DMS-5。但是凭职业的直觉,知道妄想症的妄
想可以是bizarre 也可以是 non-bizarre。
看看下面这段根据DSM-5的标准修订的妄想症定义:Delusional disorder is
characterized by the presence of either bizarre or no... 阅读全帖
n**e
发帖数: 2026
6
标 题: 基佬人渣不要到处搅屎
发信站: BBS 未名空间站 (Sat Jan 3 23:03:49 2015, 美东)
在妄想症的问题上,你已经出尽了白痴相。你的所谓“质疑”一开始就表明了你的无知。
『妄想症的妄想是怪诞性的?还是非怪诞性的?逻辑混乱不混乱?』
微镜回答你:“妄想症的妄想是怪诞性的?还是非怪诞性的?”。对这个问题的回答可
以即肯定又否定,都是正确的。你不同意,说他信口雌黄。然后你表明了你的见解:
『妄想症的妄想是非怪诞性的,否则就不能做妄想症的诊断,这是妄想症的妄想与精神
分裂症的妄想的区别, 不存在“可以即肯定又否定,都是正确的”的答案。』
你为你的见解提供了“科学依据”如下:
Delusional disorder is an illness characterized by the presence of
nonbizarre delusions in the absence of other mood or psychotic symptoms.
In contrast, bizarre delusions, which represent the man... 阅读全帖
n**e
发帖数: 2026
7
标 题: 基佬人渣不要到处搅屎
发信站: BBS 未名空间站 (Sat Jan 3 23:03:49 2015, 美东)
在妄想症的问题上,你已经出尽了白痴相。你的所谓“质疑”一开始就表明了你的无知。
『妄想症的妄想是怪诞性的?还是非怪诞性的?逻辑混乱不混乱?』
微镜回答你:“妄想症的妄想是怪诞性的?还是非怪诞性的?”。对这个问题的回答可
以即肯定又否定,都是正确的。你不同意,说他信口雌黄。然后你表明了你的见解:
『妄想症的妄想是非怪诞性的,否则就不能做妄想症的诊断,这是妄想症的妄想与精神
分裂症的妄想的区别, 不存在“可以即肯定又否定,都是正确的”的答案。』
你为你的见解提供了“科学依据”如下:
Delusional disorder is an illness characterized by the presence of
nonbizarre delusions in the absence of other mood or psychotic symptoms.
In contrast, bizarre delusions, which represent the man... 阅读全帖
k******g
发帖数: 132
8
你丫的连DSM-5的有关文献都看不懂,连bizarre delusions,nonbizarre delusions的定
义,什么叫逻辑混乱都没有弄明白,以及对逻辑混乱在妄想症和精神分裂症的诊断中的
意义也不清楚,还有什么能力争论妄想症诊断?
I,
nile对DSM-5定义的bizarre delusions,nonbizarre delusions的理解让人不知其所云。
nile对bizarre delusions,nonbizarre delusions的理解:
bizarre delusions就是nile所谓内在逻辑混乱:Delusions are deemed bizarre if
they are clearly implausible, not understandable, and not derived from
ordinary life experiences。注意这两个关键词:不合理implausible,不可理解not
understandable。
而non-bizarre delusions相当于nile所说的前提错误,如果接受前提为真,患者并没
有内在逻... 阅读全帖
k**********4
发帖数: 16092
9
来自主题: WaterWorld版 - Nile到底得的什么病?
I was pretty sure it was paranoia, because according to DSV V4.0:
A pervasive pattern of instability of interpersonal relationships, self-
image, and affects, and marked impulsivity beginning by early adulthood and
present in a variety of contexts, as indicated by five (or more) of the
following:
1. frantic efforts to avoid real or imagined abandonment. Note: Do not
include suicidal or self-mutilating behavior covered in Criterion 5.
2. a pattern of unstable and intense interpersonal relati... 阅读全帖
l********n
发帖数: 759
10
Business Insider
LOGIN REGISTER
US EDITION
EVENTSBI INTELLIGENCE
Tech Finance Politics Strategy Life Sports Video All
ENTERTAINMENT More: Minyanville China Dating
I Was The First White Woman To Audition For China's Biggest TV Dating Show
KRISTIN GRAHAM, MINYANVILLE
MAR. 21, 2012, 8:05 PM 10,738 11
FACEBOOK
LINKEDIN
TWITTER
EMAIL
PRINT
Follow Business Insider:
Fei Cheng Wu Rao
Am I the one?
That’s the question I’m hoping to answer by participating in Fei Cheng Wu
Rao (If You Are the One),... 阅读全帖
z***t
发帖数: 2261
11
来自主题: WaterWorld版 - 佩索阿诗 2
我以就像要停止的脚步走在
空荡荡的路上
都不感觉空茫冰冷的雨
是坏事儿或不适... ...

在模糊不辨的街道的夜中
走着,漫不经心,
轻轻的雨,在我裸露的脸上
是忘却的露珠… …

是的,我忘了一切。在夜里
我也是夜
我是[… …]茫然
魔幻的幽灵

在空空中,形成我的,是我,
形成夜的,是忧伤,
我这人的存在[1]不是我
是持续的未名… …

什么是忘却在散步与街道
之间的直觉
我在雨中行走,愁苦,冲淡,
我的脸裸露。
14-2-1929
[1] Meu ser existe sem que seja meu / E anónimo persiste,这里在ser,
一般翻译成“存在”之后,又用了existe,存在。这便使处理上很为难,不能翻译成,
“我的存在存在”,下一句的persiste,也是“坚持存在”。
l*****o
发帖数: 19653
12
来自主题: WebRadio版 - 来,颜控奔个美女
The black-white disparity in low birth weight in the United States is
glaring and persistent. In 2000, 13 percent of babies born to black mothers
were low birth weight, compared to 6.5 percent of those born to white
mothers.13 (By contrast, rates of low birth weight for the other racial
groups reported by the National Center for Health Statistics were close to
that of whites: 6.8 percent among American Indians and 7.3 percent among
Asians and Pacific Islanders.)14 The two-to-one disparity betwee... 阅读全帖
m***y
发帖数: 14763
13
来自主题: Joke版 - 人会被噩梦吓死吗?
人脑会自动shutdown,所以不会死
但另一方面,我是谁?那电脑打比方,是硬件还是软件?如果只是那个进程的话,你确
实是死了,现在的你,是respawn的一个新进程,读了一点前一个你写在persistence里
面的记忆,就自以为和前一个你是同一个进程。但是还有很多前一个你还没有写入
persistence的记忆,你却不知道,可见你不是旧你,旧你确实是死了。而你,也就是
朝生暮死,
u********e
发帖数: 554
14
来自主题: LES版 - so tired
Sure, you are f tired! After I read your post,
I totally understand why you are f tired, and
I feel f sorry for you.
What can I say, SOMETIMES, persistence is good
for stretching the length of a relationship, but
girl, you got look at it, is this still a healthy
relationship worthy of persistence ANY MORE?
You are just too empty in heart and live in your
own illusion.
Wake up, get a life and Matching on!
f*****9
发帖数: 175
15
来自主题: pets版 - Goldy doesnt have FIP, but leukemia
Quote
"When a cat is exposed to FeLV, there are four possible outcomes. In about
30% of cats, an effective immune response is produced and the infection is
resisted. These cats then become naturally immune to FeLV infection for an
unknown period of time. In about 40% of cats, the virus is successful and
the cat eventually becomes persistently infected and excretes virus in its
saliva. Another 30% of cats do not produce immunity but also do not become
persistently infected immediately. In these c
x********u
发帖数: 15396
16
来自主题: pets版 - about vaccines
not a short article, but it's worth reading it
http://healthypets.mercola.com/sites/healthypets/archive/2013/1
Is Your Pet Receiving Any of These Useless Vaccines?
By Dr. Becker
Today I have a very special guest returning for a second time to talk with
us and give us the tremendous benefit of his knowledge, Dr. Ronald Schultz.
Dr. Schultz heads up the Department of Pathobiological Sciences at the
University of Wisconsin-Madison School of Veterinary Medicine. He’s joining
me today on behalf of an... 阅读全帖
p******e
发帖数: 17163
17
来自主题: Whisper版 - 今天买了mega
Persist to be a loser
[在 wywxm (wuyi) 的大作中提到:]
:哈哈,不错,你有一个非常不错的有点,就是persistant。

:...........
L***m
发帖数: 4594
18
PLEASE READ THE EXCERPT.DISCUSS HOW THE TITLE IS TIED TO THE POEM, AND HOW
THE AUTHOR THINKS OF THE POEM.
Immortality Analysis
In Sleeping Beauty's castle
the clock strikes one hundred years
and the girl in the tower returns to the world.
So do the servants in the kitchen,
who don't even rub their eyes.
The cook's right hand, lifted
an exact century ago,
completes its downward arc
to the kitchen boy's left ear;
the boy's tensed vocal cords
finally let go
the trapped, enduring whimper,
and the fl... 阅读全帖
s******l
发帖数: 278
19
来自主题: SciFiction版 - Children of Dune - 9
The life of a single human, as the life of a family or an
entire people, persists as memory. My people must come to
see this as part of their maturing process. They are people
as organism, and in this persistent memory they store more
and more experiences in a subliminal reservoir. Humankind
hopes to call upon this material if it is needed for a
changing universe. But much that is stored can be lost in
that chance play of accident which we call "fate." Much may
not be integrated into evolutionar
L***m
发帖数: 4594
20
【 以下文字转载自 Poetry 讨论区 】
发信人: LAiam (老虎油), 信区: Poetry
标 题: 我就是不会写这种文章啊,大家帮帮我吧~``
发信站: BBS 未名空间站 (Wed Jan 11 15:26:38 2012, 美东)
PLEASE READ THE EXCERPT.DISCUSS HOW THE TITLE IS TIED TO THE POEM, AND HOW
THE AUTHOR THINKS OF THE POEM.
Immortality Analysis
In Sleeping Beauty's castle
the clock strikes one hundred years
and the girl in the tower returns to the world.
So do the servants in the kitchen,
who don't even rub their eyes.
The cook's right hand, lifted
an exact century ago,
completes its dow... 阅读全帖
wh
发帖数: 141625
21
替sherrymn贴:
70. 林忠民访谈录
An interview with Zhongmin Lin
采访人: 薛英
Interviewer: Ying Xue
采访时间:2006年10月
Interview time: October, 2006
人物简介:
林忠民,1982年毕业于长春地
质学院石油物探专业,中国地质大
学博士,石油地质教授级高级工程
师,曾任中石化西北分公司勘探开
发研究院副总工程师、中信集团新
疆中新资源有限公司副总经理,现
任广汇石油有限公司副总经理,中
国地质大学(武汉)兼职教授。新
疆维吾尔自治区政协九届、十届委
员,多次参与国家重点科技攻关项
目研究,从1982年到现在,主持承
担了十多项国家级、部级的大型生
产、科研项目,成果斐然。
2 0 0 4 年5 月, 林忠民加入
OCEF负责西北地区监察工作,参与
OCEF特殊项目组、教师资助项目组
创建工作并担任组长,组建新疆义
工组,资助超过20名贫困学生,其
中包括六名大学生。
Introduction of Zhongmin Lin
Zhongmin Lin graduated from... 阅读全帖
t*******d
发帖数: 2570
22
交翻译作业 #62. 不用发包子了。欢迎指正。
“感动越来越多,就会变成行动”
问1:作为久居美国的国人,您如何看待中国的崛起,以及和基金会发展的历史联系?
OCEF的发展一直和国内的教育政策紧密相连。最开始在我们心中种下助学种子的是希望
工程,但身居海外的中国留学生没有参加的渠道,从而催生了OCEF的前身中国教育救援
基金会(SOS China Education Fund)。二十多年前,我们刚刚踏出国门。当时的中国
有很多贫困落后的地方,还有很多孩子因为交不起学费而上不了学。二十年来,中国经
济发展地很快。自2005开始,由于政府“两免一补”(“免杂费、免书本费、逐步补助
寄宿生生活费”)的不断落实,把农村的教育提升到了一个新的台阶,“上不起学”的
问题已在很大程度上得到改善。OCEF的发展方向也由此发生了转变。以前,我们都是以
帮助小学生、初中生,发放学费为主。“ 两免一补”逐渐实施以后,我们减少小学、
初中生的资助规模,同时充分利用我们现有的项目资源为孩子们提供“一揽子”的教育
支持,为孤儿和住校生提供生活费,建立图书室,开发教师项目,增加资助高中生,为
高中生提供学习以及生活... 阅读全帖
wh
发帖数: 141625
23
替sherrymn贴:
70. 林忠民访谈录
An interview with Zhongmin Lin
采访人: 薛英
Interviewer: Ying Xue
采访时间:2006年10月
Interview time: October, 2006
人物简介:
林忠民,1982年毕业于长春地
质学院石油物探专业,中国地质大
学博士,石油地质教授级高级工程
师,曾任中石化西北分公司勘探开
发研究院副总工程师、中信集团新
疆中新资源有限公司副总经理,现
任广汇石油有限公司副总经理,中
国地质大学(武汉)兼职教授。新
疆维吾尔自治区政协九届、十届委
员,多次参与国家重点科技攻关项
目研究,从1982年到现在,主持承
担了十多项国家级、部级的大型生
产、科研项目,成果斐然。
2 0 0 4 年5 月, 林忠民加入
OCEF负责西北地区监察工作,参与
OCEF特殊项目组、教师资助项目组
创建工作并担任组长,组建新疆义
工组,资助超过20名贫困学生,其
中包括六名大学生。
Introduction of Zhongmin Lin
Zhongmin Lin graduated from... 阅读全帖
t*******d
发帖数: 2570
24
交翻译作业 #62. 不用发包子了。欢迎指正。
“感动越来越多,就会变成行动”
问1:作为久居美国的国人,您如何看待中国的崛起,以及和基金会发展的历史联系?
OCEF的发展一直和国内的教育政策紧密相连。最开始在我们心中种下助学种子的是希望
工程,但身居海外的中国留学生没有参加的渠道,从而催生了OCEF的前身中国教育救援
基金会(SOS China Education Fund)。二十多年前,我们刚刚踏出国门。当时的中国
有很多贫困落后的地方,还有很多孩子因为交不起学费而上不了学。二十年来,中国经
济发展地很快。自2005开始,由于政府“两免一补”(“免杂费、免书本费、逐步补助
寄宿生生活费”)的不断落实,把农村的教育提升到了一个新的台阶,“上不起学”的
问题已在很大程度上得到改善。OCEF的发展方向也由此发生了转变。以前,我们都是以
帮助小学生、初中生,发放学费为主。“ 两免一补”逐渐实施以后,我们减少小学、
初中生的资助规模,同时充分利用我们现有的项目资源为孩子们提供“一揽子”的教育
支持,为孤儿和住校生提供生活费,建立图书室,开发教师项目,增加资助高中生,为
高中生提供学习以及生活... 阅读全帖
T*******y
发帖数: 6523
25
The revised translation is pasted below.
Also, I just noticed that the name of the American professor who helped
register SOSCEF might have had a typo in "s".
鲍敏琪访谈录 used McCombs J.B.
吴雅楠访谈录 used McComb J.B.
I have followed whatever is in the Chinese version in the translation, and
perhaps nobody would really notice this, as I haven't noticed it until now,
but I want to point it out just in case.
=============================================
鲍敏琪访谈录
OCEF走专业化的道路是我一直的心愿
采访人: 唐棠(Teresa Tang)
采访时间:20... 阅读全帖
S**U
发帖数: 7025
26
杀阿罗汉是五无间业之一,后果是生无间地狱。
http://www.accesstoinsight.org/lib/authors/hecker/wheel263.html
These were the circumstances of Moggallana's death.
After the death of Nathaputta, the leader of the ascetic Order of the Jains
(Jinas),[10] there arose among his followers bitter contentions about his
teaching, and consequently there was a loss of devoted adherents and of
support. The Jains had also learned what Moggallana reported from his
celestial travels: that virtuous devotees of the Buddha were seen to h... 阅读全帖
J******s
发帖数: 7538
27
来自主题: Wisdom版 - 三年前自杀事件的真正真相
A standard formula in the Canon describes a stream-winner in terms of four
factors. The first three of these four factors of stream-entry are directly
related to the cutting of the fetter of uncertainty. The fourth is related
to the cutting of the fetter of grasping at precepts and practices.
"There is the case where the disciple of the noble ones is endowed with
verified confidence in the Awakened One... verified confidence in the Dhamma
... verified confidence in the Sangha... He/she is endowe... 阅读全帖
y**e
发帖数: 2729
28
来自主题: Jiangnan版 - 有奖竞猜,饭后闲人
今天的这个会议太让人失望了,都流鼻涕了
巴马政府的这位财政部长应该被解雇,真的挺无能的,创新的一点没有,怪不得人家说IT
只会印钞票.
在这么关键的时候,他今天下午的讲话真的不够好,和国内的当官的一样,怕承担责任,做
不了大事.
Martin Crutsinger, AP Economics Writer, On Wednesday June 22, 2011, 2:44 pm
EDT
WASHINGTON (AP) -- Federal Reserve Chairman Ben Bernanke says some of the
problems that are slowing the economy could persist into next year.
Bernanke says at a news conference that the slowdown could be due, in part,
to the troubled housing market and other factors that will continue to
depress growth i... 阅读全帖
e*e
发帖数: 116
29
来自主题: BuildingWeb版 - HTTP COOKIES
" target="_blank" class="a2">http://www.netscape.com/newsref/std/cookie_spec.html
PERSISTENT CLIENT STATE
HTTP COOKIES
Preliminary Specification - Use with caution
INTRODUCTION
Cookies are a general mechanism which server side connections (such as CGI
scripts) can use to both store and retrieve information on the client side
of the connection. The addition of a simple, persistent, client-side state
significantly extends the capabilities of Web-based client/server
applications. OVERVIEW
A server,
c*******y
发帖数: 3529
30
来自主题: Hardware版 - dockstar上架设openVPN(适合新手)
3. your_vpn_client.conf 改成:
client
proto tcp
dev tun
ca ca.crt
dh dh1024.pem
cert your_vpn_client.crt
key your_vpn_client.key
remote xxxx.xxxx.com 53
;cipher AES-256-CBC
verb 3
mute 20
keepalive 10 120
comp-lzo
persist-key
persist-tun
float
resolv-retry infinite
nobind
ns-cert-type server
redirect-gateway def1
i****a
发帖数: 36252
31
http://www.tomshardware.com/news/ethereum-effect-graphics-card-prices,34928.html
The Ethereum Effect: Graphics Card Price Watch
The recent resurgence of cryptocurrency and the growing popularity of
Ethereum has led to a massive shortage in the GPU market. Prices are
oscillating wildly, and dozens of graphics card models are sold out. In
short, the mining craze is wreaking havoc on the graphics card market. Below
, we’ve begun tracking pricing and availability for the volatile graphics
card marke... 阅读全帖
p***n
发帖数: 635
32
来自主题: Java版 - 有经验的同志谈谈JDO吧?
如果作PERSISTENCE MANAGEMENT,JDO确实比EJB
CMP简洁了不少,如果不用来作PERSISTENCE MANAGEMENT,JDO比JDBC有什么大的优越性呢?
请不吝赐教.
v**o
发帖数: 64
33
来自主题: Java版 - 有经验的同志谈谈JDO吧?
JDO完成persistence layer的好处在于它一般不用处理分布式,避免了ejb考虑分布式
带来的overhead。
JDO和JDBC没有冲突,JDO一般也是用jdbc实现的,你也可以用jdbc完成Persistence
layer。jdo好处就在于它已经把这一层封装好了。
g*****g
发帖数: 34805
34
来自主题: Java版 - j2ee现在流行什么?
For open source: Struts, Spring, Hibernate, Struts is the de facto
for web tier development but it's going down. Spring wires everything
you need from a j2ee container. Hibernate is for persistence tier.
For standard J2ee: JSF, EJB3
Open source stuff seems to be hotter than standard stuff nowadays.
If you want to learn, start with Spring, learn how to develop a
Spring web application with Hibernate as persistence tier, you then
can compare Spring MVC and Struts.
g*****g
发帖数: 34805
35
来自主题: Java版 - Spring 工作机会好象不多啊!
Spring is an application framework, which works like a glue by enabling
you to assemble an application server with your favorite JEE technology.
e.g. You can pick Hibernate, Toplink, ibatis or any favorite ORM product as
persistence, Strust, JSF, etc. as web layer. Tomcat's or weblogic's
clustering,
hessian or web service for remoting.
Hibernate on the other hand, is the most popular ORM product for persistence
layer.
Traditional JEE servers lock you into a series of services, you have no
option
t*******e
发帖数: 684
36
来自主题: Java版 - JSF, Wicket, and Vaadin
persistence programming比较特别。component有自己的data buffer,也可以直接
bind persistent entities, 但是entitymanager的scope不如传统的httprequest,
response容易界定. OpenEntityManagerInView估计无法使用. 说到底,Hibernate/JPA是为
传统Http request response lifecycle设计的。
t*******e
发帖数: 684
37
来自主题: Java版 - JSF, Wicket, and Vaadin
The question is how to define a view in a single page application?
Perhaps, the concept of flow is more appropriate than view in RIA.
Considering a flow as a specific use case in the application, we can
adhere to the same extended persistence context object during the course
of the flow. Effectively, this approach eliminates detached entities and
the lazy loading exception. The persistence context object will be closed
automatically when a user chooses to leave the current flow/use case.

hard
t*******e
发帖数: 684
38
来自主题: Java版 - JSF, Wicket, and Vaadin
Vaadin的书没有提到persistence。有个wiki文章介绍了一下。基本上是EJB1/2里面的
value object(DTO) pattern,把detached entities当value object来用了。update
entity用merge()。实际上,persistent entity是自动synchronize database的。那个
TransactionListener就是个非常简单的filter,没什么大的帮助。Detached entitie都存在
Http Session里。还有就是Data Model API比较麻烦。对Hibernate的支持太弱了。个人感觉如
果整合seam page flow可能比较好。不过在此之前,对后台hibernate的applications, 真不好
用。
z*******3
发帖数: 13709
39
【 以下文字转载自 JobHunting 讨论区 】
发信人: lanmao (懒猫), 信区: JobHunting
标 题: 来来来贴个励志篇:一问三不知也能拿offer
发信站: BBS 未名空间站 (Sat Jul 9 11:29:24 2011, 美东)
(坑已经够大了,只管挖不管填不道德,俺自个合集了。)
看了芙蓉的减肥照片和凤姐的励志围脖,也想来跟个励志潮流。满版上都是google
amazon facebook,搞得不是编程熟手不会脑筋急转弯就没好工作似的。 俺来贴个BSO
的Java面经吧,来鼓励一下正在奋斗着的童鞋们。认识俺的都不要说啊,俺那么低调~~~
个人背景:人工智能方向的,学校算top 50吧,9月答辩,读了整整八年的老博士马上
就要新鲜出炉啦!
先低调的说一下amazon经历。amazon给俺发信三四次,要求俺去面试,没理。HR打电话
过来说为啥不理,俺说你们招聘职位太entry level,没兴趣。HR说那给你找个高层次
点的职位。过两天打电话来,说有个高级程序员的活,能不能给我们的hiring manager
一个向你展示我们项目产品的机会。俺心想... 阅读全帖
z*******3
发帖数: 13709
40
来自主题: Java版 - 说说spring和ejb的差别
抛砖引玉
吃饱了看文茜世界财经周报,看得昏昏的想睡,睡觉前赶紧写,写完睡觉去了
这样,先不从dto说起了,说tiers
一个j2ee经典的tiers最早提出来的时候,是三层,所谓的三层说的是sever side三层
不包括client side和database
三层里面分别有一层专门跟以上两个东西打交道
一个是presentation tier,这个跟client side打交道
一个是persistent tier,这个专门跟database打交道
中间还剩下一个叫做business tier,这么三层,这都很熟悉了
那么当初提出这个构想的时候
是基于以下一个方式
client side是applet+browser
presentation tier是servlet+jsp,servlet是controller,jsp是viewer
model需要你自己去提取,去包装
business tier则是ejb,尤其是session bean,stateful和stateless
persistent tier也是ejb,是entity bean
database用jdbc连接
这五个... 阅读全帖
z****e
发帖数: 54598
41
javax.faces.*
javax.faces.component.*
这两个就是大名鼎鼎的jsf
web层的东西
javax.enterprise.inject.*
这个对于spring熟悉的话,这一块也不难
javax.enterprise.context.*
javax.ejb.*
这两个都是ejb的东西,第一个说的是容器的概念
如何向容器申请需要的资源的api
对ejb2熟悉的话,这个应该没什么了
以上三个都是business层的东西
javax.validation.*
这个最早是hibernate的一个部分,做得很好了之后独立出来单独搞
javax.persistence.*
javax.transaction.*
jpa相关的东西,可以理解成是跟db相关的部分,transaction什么应该都知道吧?
以上三个都是persistence层的东西,都是hibernate那个gavin king牵头搞的
javax.jms.*
这个最早是ejb的一个部分,最早ejb有stateful, stateless和message bean
这个其实用在异步处理上比较多,最早的异步... 阅读全帖
B*****g
发帖数: 34098
42
来自主题: Java版 - 我也来问问题了
spring注入以后怎么执行DML语句或者run一个stored procedure
import javax.persistence.Query;
@PersistenceContext
private EntityManager em;
public void updateValue() {
Query qr = em.createNativeQuery("DELETE FROM table WHERE id = 1688");
qr.executeUpdate();
}
Error:
org.springframework.dao.InvalidDataAccessApiUsageException: Executing an
update/delete query; nested exception is javax.persistence.
TransactionRequiredException: Executing an update/delete query
注入是成功的,因为可以进行select操作。加了@Modifying @Transactional,也不... 阅读全帖
b***i
发帖数: 3043
43
来自主题: Java版 - OpenShift怎么上数据库?
老赵你再帮我看看,我是要把Jbosseap上的spring-eap6-quickstart改成可以使用
mysql.原来使用的是h2,内存中模拟的数据库。原来文件如下
[persistent.xml]
java:jboss/datasources/ExampleDS
[jboss-deployment-structure.xml]





阅读全帖
b***i
发帖数: 3043
44
就是那个JBoss Spring Framework终于可以使用Mysql了。但是,每次我手动重启后,
打开页面就出现Exception。为什么刚开机就不能open database?是不是那个database
。我经常需要等待一小时以上才能看到正常的网页。此app使用了Hibernate。我就是想
看到一个网站能够把用户保存的数据存到数据库,下次app重启后仍然可以看到保存过
的数据。我手动重启是为了模拟网站计算机崩溃,然后看看数据库是不是还在。为什么
这么个简单的事情就这么多问题?
org.springframework.web.util.NestedServletException: Request processing
failed; nested exception is javax.persistence.PersistenceException: org.
hibernate.exception.JDBCConnectionException: could not prepare statement
javax.persistence.PersistenceExcepti... 阅读全帖
b***i
发帖数: 3043
45
不知道怎么设啊。哪个文件?
我有如下xml
Resource/sprng/applicationContext.m, infrasturcture.xml, persistence.xml
Resource/persistence.xml
WEB-INF/jboss-as-spring-mvc-context.xl, jbss-deployment-structure.xml,
spingqickstart-ds.xl, web.xml
t*********e
发帖数: 630
46
来自主题: Java版 - Singleton Session Bean
哦,好像是跟 bean 的应用 scope 有关。当去掉 @singleton 后,它变成了 @
Dependent scope, by default. 每次单击,是一个新的请求,产生一个新的 bean
instance, 跟 RequestSope 产生的效果差不多。
ApplicationScoped Specifies that a bean is application scoped.
ConversationScoped Specifies that a bean is conversation scoped.
Dependent Specifies that a bean belongs to the dependent pseudo-scope.
NormalScope Specifies that an annotation type is a normal scope type.
RequestScoped Specifies that a bean is request scoped.
SessionScoped Specifies that a bean is ... 阅读全帖
G*****h
发帖数: 33134
47
you sure? tried it?
"Upon completion, you should have a ready to run bootable USB Flash Drive
with your select Linux version installed."
Other features include; Persistence (if available)
For USB Linux users, a persistent Linux install is one that allows it's user
to save data changes back to the USB storage device instead of leaving the
information in system RAM. This data can then be recovered and used again on
subsequent boots, even when booting from different machines.
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)