j2ee配置指南3.htm
来自「J2EE配置指南(讲解j2ee开发环境的配置)」· HTM 代码 · 共 346 行 · 第 1/2 页
HTM
346 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0045)http://www.yesky.com/20020719/1621239_2.shtml -->
<HTML
xmlns="http://www.w3.org/TR/xhtml1/strict"><HEAD><TITLE>天极网---软件频道</TITLE>
<META content="text/html; charset=GB2312" http-equiv=Content-Type></META><LINK
href="J2EE配置指南3.files/cpcw.css" rel=stylesheet></LINK>
<META content="MSHTML 5.00.3806.1700" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff leftMargin=0 text=#000000 topMargin=2 marginheight="0"
marginwidth="0">
<DIV align=center>
<TABLE border=0 cellPadding=0 cellSpacing=0 height=90 width=760>
<TBODY>
<TR>
<TD width=149> </TD>
<TD colSpan=2><A href="http://www.yesky.com/">首页</A> ·<A
href="http://www.yesky.com/ServerIndex/77124143618719744/index.shtml"><FONT
class=zzz>硬件</FONT> </A>· <A
href="http://www.chinabyte.com/Enterprise/218706056904179712/index.shtml">E企业
</A>·<A href="http://price.yesky.com/"> 商情 </A>·<A
href="http://www.yesky.com/Fashion/73746443898191872/index.shtml"> 数字电子
</A>·<A
href="http://www.yesky.com/SoftChannel/72339069014638592/index.shtml"> 软件
</A>· <A
href="http://www.yesky.com/Gameall/73183493944770560/index.shtml">游戏
</A>·<A href="http://download.yesky.com/"> 下载 </A>· <A
href="http://www.yesky.com/Etimes/74872343805034496/index.shtml">E时代</A>·
<A href="http://bbs.yesky.com/">论坛</A></TD></TR>
<TR>
<TD align=middle height=70 vAlign=top width=149><IMG height=60
src="J2EE配置指南3.files/bz2.gif" width=110></TD>
<TD vAlign=top width=474><IFRAME frameBorder=0 height=90 scrolling=no
src="J2EE配置指南3.files/y-soft-column-s.htm" width=500></IFRAME></TD>
<TD vAlign=top width=137><IFRAME frameBorder=0 height=60 scrolling=no
src="J2EE配置指南3.files/content.htm"
width=130></IFRAME></TD></TR></TBODY></TABLE><IFRAME frameBorder=0 height=96
scrolling=no src="J2EE配置指南3.files/y-soft-column-1.htm" width=766> </IFRAME>
<TABLE bgColor=#979797 border=0 cellPadding=0 cellSpacing=0 width=760>
<TBODY>
<TR>
<TD width=10></TD>
<TD width=536><SPAN class=nava><FONT color=#ffffff>您现在的位置是: </FONT><A
href="http://www.yesky.com/72339069014638592/index.shtml"><FONT
color=#ffffff>软件</FONT></A><FONT color=#ffffff> > </FONT><A
href="http://www.yesky.com/72342367549521920/index.shtml"><FONT
color=#ffffff>开发者网络</FONT></A><FONT color=#ffffff> > </FONT><A
href="http://www.yesky.com/72342371844489216/index.shtml"><FONT
color=#ffffff>程序方舟</FONT></A><FONT color=#ffffff> > </FONT><A
href="http://www.yesky.com/72342371961929728/index.shtml"><FONT
color=#ffffff>Java专栏</FONT></A><FONT color=#ffffff> > </FONT><FONT
color=#ffffff>正文</FONT></SPAN></TD>
<TD bgColor=#f7f7f7 width=214><IMG height=22
src="J2EE配置指南3.files/content-1.gif" width=214></IMG></TD></TR></TBODY></TABLE>
<TABLE bgColor=#f7f7f7 border=0 cellPadding=0 cellSpacing=0 width=760>
<TBODY>
<TR>
<TD height=10 width=149></TD>
<TD background=J2EE配置指南3.files/content-3.gif height=10 width=1></TD>
<TD height=10 width=610></TD></TR></TBODY></TABLE>
<TABLE bgColor=#f7f7f7 border=0 cellPadding=0 cellSpacing=0 width=760>
<TBODY>
<TR>
<TD align=middle vAlign=top width=149><IFRAME frameBorder=0 height=500
scrolling=no src="J2EE配置指南3.files/softwaresv.htm"
width=120></IFRAME><BR><BR>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=135>
<TBODY>
<TR>
<TD bgColor=#3d7b7b width=30><IMG align=absMiddle height=17
src="J2EE配置指南3.files/content-2.gif" width=24></IMG></TD>
<TD align=middle bgColor=#a0d0d0 class=nava width=105><A class=A1
href="http://www.yesky.com/72348964619288576/index.shtml"><FONT
color=#000000>T O P 排 行</FONT></A></TD></TR>
<TR>
<TD align=middle bgColor=#ebebeb vAlign=top width="6%">-</TD>
<TD bgColor=#ebebeb width="94%"><A
href="http://www.yesky.com/20020724/1621869.shtml"
target=_blank>Photoshop 特效速查手册</A><BR></TD></TR>
<TR>
<TD align=middle bgColor=#ebebeb vAlign=top width="6%">-</TD>
<TD bgColor=#ebebeb width="94%"><A
href="http://www.yesky.com/20020723/1621697.shtml"
target=_blank>实战ASP数据库</A><BR></TD></TR>
<TR>
<TD align=middle bgColor=#ebebeb vAlign=top width="6%">-</TD>
<TD bgColor=#ebebeb width="94%"><A
href="http://www.yesky.com/20020717/1620756.shtml"
target=_blank>深入了解AI10对象选择工具</A><BR></TD></TR>
<TR>
<TD align=middle bgColor=#ebebeb vAlign=top width="6%">-</TD>
<TD bgColor=#ebebeb width="94%"><A
href="http://www.yesky.com/20020716/1620688.shtml"
target=_blank>ASP服务器端组件编程实例</A><BR></TD></TR></TBODY></TABLE><BR><IFRAME
frameBorder=0 height=180 scrolling=no src="J2EE配置指南3.files/soft.htm"
width=135></IFRAME><BR>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=135>
<TBODY>
<TR>
<TD bgColor=#3d7b7b width=30><IMG align=absMiddle height=17
src="J2EE配置指南3.files/content-2.gif" width=24></IMG></TD>
<TD align=middle bgColor=#a0d0d0 class=nava width=105><A class=A1
href="http://training.yesky.com/"><FONT color=#000000>网 校 热
门</FONT></A></TD></TR></TBODY></TABLE><IFRAME frameBorder=0 height=190
scrolling=no src="J2EE配置指南3.files/softyesky.htm" width=135></IFRAME></TD>
<TD background=J2EE配置指南3.files/content-3.gif width=1></TD>
<TD align=middle vAlign=top>
<TABLE border=0 cellPadding=0 cellSpacing=2 width=550>
<TBODY>
<TR>
<TD align=middle><B><FONT class=BHEAD
color=#333399>J2EE配置指南</FONT></B></TD></TR>
<TR>
<TD bgColor=#bbbbbb height=1></TD></TR>
<TR>
<TD align=middle><FONT face="Arial, Helvetica, sans-serif"><SPAN
class=nava>2002-07-26· ·freehero··Java家<BR><BR></SPAN></FONT></TD></TR>
<TR>
<TD>
<P align=right><FONT color=red><A
href="http://www.yesky.com/20020719/1621239_1.shtml">上一页</A> <A
href="http://www.yesky.com/20020719/1621239.shtml">1</A> <A
href="http://www.yesky.com/20020719/1621239_1.shtml">2</A> 3
</FONT></P><IFRAME align=right frameBorder=0 height=300
marginHeight=0 marginWidth=0 scrolling=no
src="J2EE配置指南3.files/cont_flash_software.htm"
width=360></IFRAME><SPAN class=txt> 10.安全
<P></P>
<P> <B>未授权用户</B><BR> 对于j2ee来说,当有未授权的用户试图调用ejb
container的时候,j2ee必须存在一般意义上的未授权用户存在。在j2ee中这个用户名字是guest,密码是guest123。你可以在auth.properties
文件中修改用户名和密码。
<BR> default.principal.name=guest<BR> default.principal.password=guest123</P>
<P> <B>Keystore密码</B><BR> 如果用户使用公钥访问https,认证信息放在<USER-HOME>/.keystore
文件中。同时user-home是System.getProperty("user.home")的返回值。<BR> keystore是一个典型的密码文件。默认的密码是changeit。可以在web.properties
文件中修改keystore.password 属性的值来改变密码。</P>
<P> <B>ANYONE 角色</B><BR> 在application
deployment工具的security面板中,默认的情况下方法分配给ANYONE
角色。这样的结果是所有的用户和组都可以调用它。如果你没有影射到一个特定的角色,每一个用户和用户都可以调用它。可以在auth.properties
文件中设置anyone.role.name
的值来改变默认anyone角色。<BR><BR> 钝化发生的条件:内存限制<BR> 当ejb
container开始钝化一个ejb的时候,它把ejb保存在附属存储中并且试图重新分配内存。默认的情况下,如果内存使用超过128m的时候钝化开始发生。可以编辑config/default.properties
文件中passivation.threshold.memory
属性的值来修改默认值。<BR> passivation.threshold.memory=128000000<BR> 值必须是一个正的整数。当你减少这个值的时候钝化现象回经常发生。</P>
<P> jndi name server host<BR> 如果jndi name server和j2ee
server不在同一个机器上,你必须改变config/orb.properties
文件中host属性的值。<BR> host=localhost</P>
<P> <B>HTTP
文档根</B><BR> 默认的情况下,http和https服务的文档是public_html。你可以编辑web.properties
文件中documentroot属性的值来改变它。<BR>documentroot=public_html/</P>
<P></P>
<P> <B>JavaTM 2 SDK,Enterprise Edition 介绍</B></P>
<P> 1.<B>注意事项</B><BR> 如果你第一次使用JavaTM 2 SDK, Enterprise Edition
(J2EE SDK) ,你应该遵从下面的步骤:<BR> (1)确认你安装了JavaTM 2 SDK, Enterprise
Edition (J2EE SDK) 。<BR> (2)配置你的JavaTM 2 SDK, Enterprise Edition
(J2EE SDK) 软件。<BR> (3)阅读
《开始j2ee》文档,开始建立年的ejb。<BR> 2.支持的平台<BR> SolarisTM Operating
Environment, version 2.6<BR> Windows NT, version
4.0<BR> 3.支持的数据库和jdbc 驱动<BR> 这个版本支持jdbc
api的1.0和2.0版本的数据库驱动。我们在以下数据库上做了很好的测试:<BR>Oracle8 Server, version
8.05<BR>Microsoft SQL Server, versions 6.5, 7.0<BR>Cloudscape,
version 3.0<BR> 更多的jdbc信息,请参阅jdbc data access api
web页面("http://www.java.sun.com/products/jdbc/index.html)。观看驱动提供商列表请看http://www.java.sun.com/products/jdbc/jdbc.driver.html。当你安装完驱动后,你要按照《配置指南》中有关jdbc
驱动的内容进行配置。如果你使用cloudscape 数据库,你不需要配置它的驱动,因为在本版本已经包括了它的驱动。</P>
<P> 4.本版本的内容包括:<BR> 服务:<BR> EJB <BR> HTTP <BR> HTTP over
SSL<BR> COS naming <BR> Authentication </P>
<P> 工具:<BR> Application Deployment
Tool<BR> 一个打包j2ee组件和发布应用程序的工具。<BR> Realm Tool<BR> 这个工具管理j2ee
server
的用户。<BR> Verifier<BR> 这个工具核实j2ee组件文件。<BR> Packager<BR> 这个工具打包j2ee组件。<BR> Cleanup
Script<BR> 删除所有发布的j2ee的应用程序。</P>
<P> <B>Cloudscape 数据库</B><BR> 本版本包括一个用java语言写的关系型数据库——cloudscape
3.0。尽管本文档例子的代码是用cloudscape做测试的,但是你可以使用任何本版本支持的数据库。<BR></P>
<TABLE bgColor=#ffffff border=0 cellPadding=0 cellSpacing=0
width=600>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?