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

您没有登录

» Java开发网 » Application Server » Other AS  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:Open Source J2EE AppServer JFox 1.0 Released [Re:wes109]
youlq



CJSDN高级会员


发贴: 260
积分: 95
于 2003-12-15 10:17 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:

JFox 1.0 Released
Posted By: Corby Page on December 09, 2003 @ 09:13 AM in response to Message #103707.
First, I'd like to express my sincere admiration for the folks who did put together JFox. It takes a lot of gumption to identify a burgeoning market niche (J2EE support for Chinese market), and then assemble software of this scope to meet that niche.

Next, I'd like to make fun of their code. How about the variable names in this method?

final public ASTEJBQL EJBQL() throws ParseException {
/*@bgen(jjtree) EJBQL */
ASTEJBQL jjtn000 = new ASTEJBQL(JJTEJBQL);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
SelectClause();
FromKeyword();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case WHERE:
WhereClause();
break;
default:
jj_la1[0] = jj_gen;
;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case ORDER:
OrderByClause();
break;
default:
jj_la1[1] = jj_gen;
;
}
jj_consume_token(0);
jjtree.closeNodeScope(jjtn000, true);
jjtc000 = false;
{if (true) return jjtn000;}
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
}
}
throw new Error("Missing return statement in function");
}

Is this some artifact of having to translate Chinese variable names into ASCII text? Who could possibly maintain this aside from the original author?

Dear God, don't let Cameron see this! Smile

Corby



Be tough!

话题树型展开
人气 标题 作者 字数 发贴时间
19753 Open Source J2EE AppServer JFox 1.0 Released wes109 67 2003-12-10 12:55
16569 Re:Open Source J2EE AppServer JFox 1.0 Released bluecrystal 28 2003-12-10 18:48
15692 Re:Open Source J2EE AppServer JFox 1.0 Released dany 14 2003-12-14 16:33
15831 Re:Open Source J2EE AppServer JFox 1.0 Released wes109 17 2003-12-15 09:25
15990 Re:Open Source J2EE AppServer JFox 1.0 Released youlq 1295 2003-12-15 10:15
16701 Re:Open Source J2EE AppServer JFox 1.0 Released youlq 2041 2003-12-15 10:17

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