由买买提看人间百态

topics

全部话题 - 话题: jboss
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
z****e
发帖数: 54598
1
来自主题: Java版 - Spring JBOSS
jboss developer studio感觉不太好用,私货太多了
用eclipse,然后下jboss的plugin就好了
或者idea,下jboss的plugin
jboss是历来实现jee标准最快的一个
不管是jee7还是jee6,jee5什么也都很快搞定
倒是websphere&weblogic有些慢,当然最快的是样板glassfish
不过glassfish除了当样板用以外,没有人真的用
spring不是标准的jee,对jee标准有很深的影响
但是spring本身各种接口annotation什么,都跟标准化的jee不一样
jboss是标准化了jee impl,spring不是,spring更像是一个简化的jee impl
jboss应该没有什么特殊的类库,绝大部分都是jee标准
spring大部分都是非标准的接口什么
jee分成两块,一块是web,web server是jee的子集合
另外一块是app,两块凑一起叫做full,所以你看官网上给这些产品颁证书
分成full和web,后者是前者的子集,tomcat只实现了web
jboss实现了both,weblogic&webs... 阅读全帖
z*******3
发帖数: 13709
2
实际上,hibernate早就已经是jboss的一部分了
是jboss关于jpa的实现
jboss后来提出一个概念我很喜欢
他们认为,将来的j2ee,是由一堆可以拆装的部分组成
所以jboss把各个项目细分
比如做rest的,就搞了resteasy之类的
而同样在另外一边,spring也在做类似的事情
vmware也在不停地扩充spring,给spring做出各种各样的组件
比如spring mvc,spring core,spring web service之类的
其实你稍微open mind一点
不要把jboss跟spring对立起来
你会发现,jboss和spring在逐渐地靠近,越来越象了
而ejb不过是其中一个普普通通的组件而已
跟什么servlet,face还不是一回事
倒是有些人一听到ejb吓成那样才是奇芭
当年古德霸说过他怎么搞ejb的
说一开始以为ejb有多难,实际上写两个之后,不就那么一回事么
对,我也这么觉得,而且我觉得这么简单的东西,不会
真是侮辱了自己的智商
你说微积分的证明,不会,那可以理解,可能没学过数学分析
你这个不会,行了吧,专科生过来我跟他说两句估计... 阅读全帖
d**k
发帖数: 1223
3
来自主题: BuildingWeb版 - 关于jboss 的问题
一直在用jboss做application server,启动的时候就login 到server,然后开一个
command line, 然后用run -b 0.0.0.0; 要shutdown的时候就直接ctrl+c;虽然土了
点儿,但因为application 都是内网的application, 而且用户不多,所以也没有在意
。后来,觉得实在受不了了, 就把jboss server run成一个service, 不用再到
command line去启动,或者shut down了。今天发现一个问题,不太妙:似乎任何人,
只要在内网,就可以remote地shutdown这个jboss service:因为jboss server 都开了
jndi, 如果我通过Jndi来shutdown, 似乎可以同过远程来直接做: 比如, 我可以在任
何一台同一个子网的机器,通过执行 shutdown -s hostname:1099 -S, 就可以把吧
server上的jboss service 停掉。后来试了一下,不仅是service, 对于通过command
line 起来的jboss, 一样可
d**k
发帖数: 1223
4
一直在用jboss做application server,启动的时候就login 到server,然后开一个
command line, 然后用run -b 0.0.0.0; 要shutdown的时候就直接ctrl+c;虽然土了
点儿,但因为application 都是内网的application, 而且用户不多,所以也没有在意
。后来,觉得实在受不了了, 就把jboss server run成一个service, 不用再到
command line去启动,或者shut down了。今天发现一个问题,不太妙:似乎任何人,
只要在内网,就可以remote地shutdown这个jboss service:因为jboss server 都开了
jndi, 如果我通过Jndi来shutdown, 似乎可以同过远程来直接做: 比如, 我可以在任
何一台同一个子网的机器,通过执行 shutdown -s hostname:1099 -S, 就可以把吧
server上的jboss service 停掉。后来试了一下,不仅是service, 对于通过command
line 起来的jboss, 一样可
z****e
发帖数: 54598
5
来自主题: Java版 - Spring JBOSS
哪些config files?
可能你遇到了jboss上的config,比如jpa之类的
jboss现在换名字了,叫wildfly
不过你们都用jboss了,还用spring干嘛
直接用jboss的di
用beans.xml就好了,跟spring是一样的
额外加一个spring反而麻烦,用spring干脆就把jboss干掉
用tomcat好了,jboss其他东西反而重
r*t
发帖数: 34
6
【 以下文字转载自 Java 讨论区 】
发信人: rgt (一脸无辜), 信区: Java
标 题: puzzles about load balancing and failover of JBoss cluster
发信站: BBS 未名空间站 (Tue Jul 26 09:08:10 2005)
I just go through the book 'jboss clustering', but still have several
questions related with the load balance and session bean failover capabilities
of JBoss cluster.
1) It seems that JBoss cluster cannot balance running process, for example, I
have a two-node (A and B) cluster (my EJB running on both with clustered
configuration), and three sa
b******y
发帖数: 9224
7
来自主题: Java版 - Jetty, Tomcat, JBoss comparison
I've used Jetty, Tomcat and Jboss.
Out of the three web app servers, I find that Jetty is the best because it
is fast and small footprint.
Tomcat is catching up and also pretty good.
JBoss is big/huge. In fact, Jboss uses tomcat/Jetty internally. I feel like
Jboss usage is in a downward trend. Any comments welcome.
r*t
发帖数: 34
8
I just go through the book 'jboss clustering', but still have several
questions related with the load balance and session bean failover capabilities
of JBoss cluster.
1) It seems that JBoss cluster cannot balance running process, for example, I
have a two-node (A and B) cluster (my EJB running on both with clustered
configuration), and three same client requests from third computer C are
leveled with ?Round-Robin? policy, two in node A and one in node B. If I kill
node A (Ctrl+c), all processes
u*e
发帖数: 965
9
当我通过 Terminal window启动JBoss 或Tomcat后, 如果关了 Terminal window,
JBoss 或Tomcat也关闭了。请问怎样才能关闭Terminal window了,但JBoss 或Tomcat
不被关闭,保持运行? 谢谢
l*****b
发帖数: 82
10
Hi, friends,
I have production env with JBoss 4.0.4 and was add ehcache in last release.
BUt it was slow down and then shutdown due to the java heap out of memory in
every 20 days after that and need reboot the jboss. So far, I have not
found the root cause, just got some symptons: java heap usage is overflow, e
.g. over 512 max to 6xx sometime, seems run out memory. But it is ok in the
19 days when I monitor the memory usage, usually have about 120 - 150M free
memory left. Do you have any idea ... 阅读全帖
c***5
发帖数: 158
11
来自主题: Java版 - JBOSS
单位正用JBOSS,有两个问题请教。
1。JBOSS流行吗?
2。单位用JBOSS AS 5.1 与最新的7.1版本好像区别很大。我该自学7.1吗?
谢谢。
w******n
发帖数: 692
12
来自主题: Java版 - JBOSS
1. JBoss很流行, 而且发展的很好,象hibernate, resteasy, drools衍生产品都做得很好
2. JBoss 7.1很不错, 应该学. 不过至少还要好几年才能用到production上. 象我们公
司现在还是JBoss 5.1.1
z*******3
发帖数: 13709
13
不知道国内的铁道售票有没有联程这个概念
如果中间涉及到转机之类的跨不同数据库的操作
那么涉及到多个数据库之间的transaction就很爽了
而且这种东西是不能随随便便错的
所以我看最好的方法可能是上ibm的mainframe
其实世界上大部分民航的售票系统最back end用的就是mainframe
你们ibm在这一块市场份额其实大大地
很多专业的公司就专门养着这么一批ibm的人做service
公司不倒,ibm这批人不裁
相比之下web公司就容易很多,transaction需要的地方少之又少
大部分request无非就是处理掉拉倒
所以越是大的网站,用apache http server的就越多
tomcat比起来都显得太过于重量了
所以java在这种大并发的web要求面前也没有什么优势
这是我放狗搜出来的
可以看到,用java做web的屈指可数几个
我看到的无非三个,ebay,alibaba和linkedin
其中阿里巴巴用的是jboss,ebay用tomcat可以理解
当年ebay搞起来的时候,jboss都还不知道在哪里呢
至于linkedin,阿三对于java的热爱不是盖的
... 阅读全帖
a****i
发帖数: 1182
14
中学写议论文隐含一个前提条件就是伟人、古人说的是正确的
然后才能从伟人古人的说法延伸
如果引用“白马非马”开展议论,只会得零分
回到技术上来,我想不通的就是凭什么只有IBM能做,只有JEE(EJB)能做?
JBoss不行吗?说到有一套,oracle, sun, jboss, spring,哪个没有一套?
而JTA是可以单独出来的,你可以把oracle的jboss的jta注入到spring结构里,
不需要JEE的服务器,tomcat,jetty一样跑transaction
我想不出非要重量服务器的理由
用EJB的好处,我感觉到的就只有一个,当你实现了@Remote的interface的时候
可以很方便地做远程调用
k********e
发帖数: 368
15
搞技术的人就容易极端。其实很简单的问题搞得太复杂。
萝卜白菜,各有所爱。大家在纠结什么app server好,人家已经用dot net搞起新系统
了。so what?
小公司为了省钱,用开源的,因为系统小,用tomcat。 好选择
中型公司,有了些钱和数据,为了应付增加的流量和安全性能,开始用jboss。好
大型公司为了确保稳定和系统的连贯,维护,继续使用weblogic, websphere。他们不
在乎几十万的费用。你让他们改架构,就是找扁。好
google,amazon等巨型公司,市场上根本没有他们能用的系统,他们就自己开发。好
ejb还是spring? 新项目当然用spring,也有的公司用ejb3,因为ejb3和spring的差距
不大了,而且是标准。 老项目继续ejb,不重要的老项目有钱有人的时候可以改成
spring。
至于有人说为什么JEE不JBOSS,答案就是JBOSS就是JEE certified。
JTA也是JEE标准。 这些搞不清的话,需要搞清楚在讨论,省得浪费时间,误导观众。
EJB的好处是在10年以前。现在基本就是POJO了。 EJB3继续大行其道是因为他学... 阅读全帖
w****x
发帖数: 138
16
来自主题: BuildingWeb版 - Tomcat连接JBoss服务器的问题
JBoss本身包含了application和网络服务器功能,但为了系统安全性能起见,想另外建
一个网络服务
器,外界通过网路服务器连到JBoss访问。请问该如何实现?
v*****r
发帖数: 1119
17
来自主题: Database版 - broken pipe in Jboss + Oracle
by default, oracle never timeout connections, but dba might change the
default setting.
from jboss to db, anywhere along the communication path could caused this,
you will want to go through the whole environment including jboss config,
network firewall setting, db etc.

reason
explaining...
t********k
发帖数: 808
18
我把文件存放目录设置在jboss-tomcat下server\deploy下
说是
E:\jboss-3.0.3_tomcat-4.1.12\server\default\deploy\12.war (拒绝访问。)
又是怎么回事呢?
l*****e
发帖数: 1431
19
来自主题: Java版 - 推荐一本好的JBoss的书?
谁能推荐一本比较好的中高程度的JBoss的书(administration+structure analysis)?
JBoss.org上的free doc读起来实在痛苦,听说还有一本收费的doc很不错,有人看过吗?
l*****e
发帖数: 1431
20
来自主题: Java版 - 推荐一本好的JBoss的书?
But the FM is such a PITA to read :( btw today on my way from work, I stopped
by a Borders and took a look of the 'JBoss 4 Official Guide'. It seemed to be
the same free doc on JBoss.org.

analysis)?
r*t
发帖数: 34
21
I have changed the cluster-service.xml, so if I unplug B, A will detect it
alsmost instantly, however. It still take a long time to do the failover, I go
through the log info, and found:
2005-06-01 17:45:56,897 DEBUG
[org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] End
notifyListeners, viewID: 10
2005-06-01 17:46:52,297 DEBUG [org.jboss.ha.framework.server.HAPartitionImpl]
dests=[],
method_call=SessionState-'/HASessionState/Default'._setOwnership(ejb/MyBank,
192.168.1.100:1099:e9
t********k
发帖数: 808
22
来自主题: Java版 - Jboss并发访问问题
现在用的是JBOSS-3.2.5
用LoadRunner做压力测试
5个用户进行登陆就出现这个错误了
怎么这么不禁扛啊
可以怎么进行优化?
JBOSS在普通PC上,P4 1.7, 1G RAM
数据库还是装在另外一台PC上的,P4 2.26, 1GRAM
HTTP Status 500 -
w******f
发帖数: 620
23
来自主题: Java版 - How is the Jboss AS performance?
Does anyone know the performance of JBoss AS (servlet program) to handle the
http request? Right now I am really under pressue to do handle the
requirment about the 1million request/sec, it is over my head.
How is the jboss clustering working, How useful for the heavy load?
Thanks a million for any answer
m******t
发帖数: 2416
24
来自主题: Java版 - How is the Jboss AS performance?

the
Man, it'd sure be over _my_ head if I had to handle more than 2 requests per
second. ;-)
Not knowing more about your application, I can only say in general that you
might try:
1. load balance among multiple jboss instances, and
2. move the static content to an Apache server.
JBoss is quite scalable. As orang points out, assuming your application has
got a decent design and implementation, it's just a matter of piling up more
hardware.
S*********t
发帖数: 78
25
来自主题: Java版 - Jetty, Tomcat, JBoss comparison
没错,tomcat 和 jboss 类型还是不一样的,不能一起来比较。
jboss 和 apache 的 geronimo 可以比较比较。
A**o
发帖数: 1550
26
来自主题: Java版 - JBoss 4.2.x Sucks!!!
thanks for the suggestion, both of you.
well, i'm stuck on jboss for now.
i'll still use ejb3 since it's a lot simpler than before,
just need to lower my expectation a little bit.
was thinking the upgrade could make the code looked a lot nicer.
well, now i'll just use the old ugly codes...

jboss
l*****b
发帖数: 82
27
以下是我的环境:
jboss, servlet, spring (just IOC container, no mvc), maven, Junit
测试是要在unit test阶段自动完成的。对于我的特殊情况,real container 和
JMeter 是不错的组合, JMeter可以模拟客户端的多线程。但我有以下问题:
1。 如何把JMeter整合到unit test中, 我不太熟悉有没有相关的JMeter API。
2。 如何把jboss加进unit test中, 如在setUp()方法中如何加载要测试的模块和启
动等步骤。
l*****b
发帖数: 82
28
Hi, magicfat, many thx for your technical and financial advice. ; - )
So far, with all others' advice, my final goal is to have a automatic
integration test with JBoss and Maven.
I have developed a small client based on Junit to simulate and generate
multithreaded requests to target server.
There are several potential options:
1. In Maven integration test phase, using Maven plugin cargo to deploy/start
/test/stop/undeploy in Jboss.
2. Using Cactus framework to have in-container test.
3. Develop
l*****b
发帖数: 82
29
来自主题: Java版 - JBoss UDP exception
When I start Jboss 4.0.4, it keep throwing UDP exceptions. However, it never
happened before. Do you know what is root cause? There is also some issue
about the naming server port: 1099. When I use program to check the port
1099, it always return true even the JBoss is not up yet. I am not sure they
are relative.
2008-12-10 10:27:57,311 WARN [org.jgroups.protocols.UDP] packet from /193.32
.21.76:32793 has different version (") from ours (0227). This may cause
problems
2008-12-10 10:27:57,311
d**k
发帖数: 1223
30
来自主题: Java版 - SSL on JBoss
有几台jboss server, 跑了一阵子了,现在要开ssl。 在网上搜了一通,好像主要就
是一个certificate 的问题。每次碰到PKI 相关的事儿总是巨烦。我的问题是,如果我
已经有了一个certificate (从verisign 买的),用在别的box上,是不是我就只能在
去买一个?或者还可以就用这一个?如果不姓,要是回头我把jboss 转移到那个有
certificate的box上,是不是就可以了?另外,有没有什么免费的certificate? 谢谢
了!
m****i
发帖数: 712
31
来自主题: Java版 - jboss hot deployment in eclipse
I'm moving from myeclipse back to eclipse, It look like the hot
deployment for jboss is not working in eclipse, every time i change the
source code (even add a space) eclipse ask me to restart the server. I'm
using jboss 4.2.2GA and eclipse 3.4.2. I was using myeclipse 6.5 and the
hot deployment is working fine.
Thanks,
l*****b
发帖数: 82
32
Hi, Goodbug,
I encountered the heap overflow issue again and got the thread dump logs.
Seems I did not see special exception. But One thing I remembered I add new
ehcache/jgroup components in the JBoss which seems has some conflict with
the built-in jboss clustering components (the old jgroup libs). I am not
sure it is the clue I could start with.
t*******e
发帖数: 684
33
来自主题: Java版 - JBOSS
JBoss portal server, richfaces, resteasy, 之前的seam, 等等都有很强的竞争对手
. 不会让人感觉非他莫属。相反后台Drools包括rule engine和jbpm, Hibernate, 用过
就会喜欢上。对比IBM和Oracle的类似产品,更加developer friendly。
举个例子吧,JSF的RIA libs,我试过richfaces, icefaces, primefaces. 现在用
primefaces. Portal server用过jboss和liferay, liferay高出很多,大部分人用
Spring不用seam, 但是rule engine我用了Drools之后,完全没有了看其他产品的欲望。
z****e
发帖数: 54598
34
来自主题: Java版 - Spring JBOSS
jboss应该有一个统一的jboss.xml
c***5
发帖数: 158
35
来自主题: Java版 - Spring JBOSS

可能是复杂了。Jboss, Spring and CXF. 但我刚接手,难下结论。
你是说Jboss Framework就能解决了, 是吗?
c***5
发帖数: 158
36
来自主题: Java版 - Spring JBOSS
Jboss Developer Studio 好象还不能用wildfly吧?我的理解
是不是JBoss,Spring等Framework除了兼容JEE标准,还有很多
自己的类库,是吗?
但为什么说它们的server符合JEE标准,Tomcat不是呢?
z****e
发帖数: 54598
37
来自主题: Java版 - Spring JBOSS
我觉得这种东西其实说白了就是一个理论
然后别人impl了,再然后通过学习别人的tutorial来工作
所以本质还是一个理论,理论懂了,没有搞错
剩下都是细节,不重要,理论指导实践
对于jboss这种工具来说,你能让它跑起来,八九不离十了
jboss有web控制台,你可以看看,会告诉你很多信息
比如当前container里面有几个ejb这些
b******y
发帖数: 9224
38
来自主题: BuildingWeb版 - 关于jboss 的问题
jboss大而且笨重。我都是敬而远之的。
觉得jetty不错,efficient, blazing fast.
t*********i
发帖数: 217
39
来自主题: Database版 - broken pipe in Jboss + Oracle
请问有没有班上的同学熟悉JBOSS+Oracle 的环境? 我们的这里connections in the
connection pool总是出现 "IO exception, broken pipe", 或者time out 的错。我找
到网上有人说加一个valication query, 但是说已经加了。他们现在认定是database的
问题。哪位帮帮我吧,快要被逼疯了。
t********k
发帖数: 808
40
在JBOSS-3.2+Tomcat-4.1中怎么配置端口号?
在低版本中还能在Tomcat的目录中配置的
在这个版本中找不到Tomcat目录了
怎么配置?
t********k
发帖数: 808
41
我现在配置的死活在jbuilder不能run一个最简单的jsp文件
告诉我
Help viewer error
URL: Unable to open location: Document not found on serve
如果选择tomcat作为server,而不是jboss
则没问题
在别人的机器里能行
我的机器重装系统也没用
faint to death
t********k
发帖数: 808
42
来自主题: Java版 - 有关JBOSS-MQ问题
消息服务器(比如JBOSS的)一般能处理多大的数据量?
如果有1W左右用户在线
用户选择的数据需要及时发出去
但可以不必马上到达数据库
为了减少用户直接访问数据库
那我用消息驱动Bean,
把数据发到消息服务器里
然后用消息接收器去接收再放到数据库中去
这样可行否?
r*t
发帖数: 34
43
Hi, guys
I am sorry to bother you, actually I have two servers (A and B) in my
clustering, both run w2k and jboss4.0.2.
I have a stateful session bean run on two server, and one standalone client
run on one server (A). when I try the failover function of Jboss, I found that
if I kill one server by Ctrl+C, my standalone client will not notice it, so it
failover to another server perfectly. However, if I unplug the network cable
of server B, I found that it will take extreme long time to failover
x******o
发帖数: 31
44
来自主题: Java版 - what wrong with jboss?
did anyone tried the example code of the
classic book "Expert One-on-One J2EE Design and Development"
i had no problem with build. But when i deployed it, i got error:
13:51:16,871 INFO [EARDeployer] Init J2EE application: file:/F:/java/jboss/se
rver/default/deploy/ticket.ear
13:51:18,954 INFO [EjbModule] Creating
13:51:18,964 INFO [EjbModule] Deploying BoxOffice
13:51:18,994 INFO [EjbModule] Created
13:51:18,994 INFO [EjbModule] Starting
13:51:19,004 INFO [EjbModule] Started
13:51:20,366
x******o
发帖数: 31
45
来自主题: Java版 - what wrong with jboss?

did anyone tried the example code of the
classic book "Expert One-on-One J2EE Design and Development"
i had no problem with build. But when i deployed it, i got error:
13:51:16,871 INFO [EARDeployer] Init J2EE application: file:/F:/java/jboss/se
rver/default/deploy/ticket.ear
13:51:18,954 INFO [EjbModule] Creating
13:51:18,964 INFO [EjbModule] Deploying BoxOffice
13:51:18,994 INFO [EjbModule] Created
13:51:18,994 INFO [EjbModule] Starting
13:51:19,004 INFO [EjbModule] Started
13:51:20,366
x******o
发帖数: 31
46
来自主题: Java版 - jboss deployment issue, again
did anyone tried the example code of the
classic book "Expert One-on-One J2EE Design and Development"
i had no problem with build. But when i deployed it, i got error:
13:51:16,871 INFO [EARDeployer] Init J2EE application: file:/F:/java/jboss/se
rver/default/deploy/ticket.ear
13:51:18,954 INFO [EjbModule] Creating
13:51:18,964 INFO [EjbModule] Deploying BoxOffice
13:51:18,994 INFO [EjbModule] Created
13:51:18,994 INFO [EjbModule] Starting
13:51:19,004 INFO [EjbModule] Started
13:51:20,366
y********o
发帖数: 2565
47
来自主题: Java版 - 想试试Jboss,下乃个?
我看很多招工广告上都提到这个Jboss.
Sourceforge上列了很多,不知道该下哪个。
http://sourceforge.net/project/showfiles.php?group_id=22866
s******e
发帖数: 493
48
来自主题: Java版 - 想试试Jboss,下乃个?
jboss has its own website. download the newest one over there.
A**o
发帖数: 1550
49
来自主题: Java版 - 想试试Jboss,下乃个?
说句不厚道的话,你下载了就可以把jboss放在你的简历上了?
r*****l
发帖数: 2859
50
来自主题: Java版 - 想试试Jboss,下乃个?
如果是为了找工作,建议你下WebLogic。容易上手,
而且工作机会也挺多。Jboss不容易上手的。
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)