- 博客(14)
- 资源 (1)
- 收藏
- 关注
原创 JVM 参数
-vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M 这里有几个问题: 1. 各个参数的含义什么? 2. 为什么有的机器我将-Xmx和-XX:MaxPermSize都设置为512M之后Eclipse可以启动,而有些机器无法启动? 3. 为何将上面的参数写入到eclipse.ini文件Eclipse没有执行对应
2009-12-10 18:35:00
539
原创 EJB_HelloWorld
public static void main(String[] args) { try{ Properties props = new Properties(); props.setProperty(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactor
2009-12-02 23:41:00
493
转载 Authentication and Authorization
AuthenticationAn authentication system is how you identify yourself to the computer. The goal behind an authentication system is to verify that the user is actually who they say they are.There are
2009-09-01 18:45:00
532
原创 Dance with the wolf
i watched the movie with GF these day. its a wonderful movie.i remembered my grandfather suddenly. he has poor mordern knowledge. one day, i cut my fingerneil by accident when i was cuting the fire
2009-08-12 23:21:00
3534
原创 有线路由器后接无线路由器
需要把你的无线路由器设置成交换机使用:1、将机器接入你的路由器;2、进入路由器设置界面;3、找到DHCP的设置界面;4、取消或禁用DHCP服务,5、有线网线接入你的路由器的LAN口;6、所有机器都接LAN口(无线的当然用不着接喽),WAN口空置。你的机器ip都可以设成自动获取。
2009-08-04 11:25:00
807
原创 Difference between forward and include of RequestDispatcher
forward is used to forward a request, that is control is transfered tothe new servler/jsp. u shud take care to not put any our.println()statements in the servlet from where u plan to call forward
2009-06-17 16:27:00
555
原创 EJB 简介
EJB 简介 EJB是sun的服务器端组件模型,最大的用处是部署分布式应用程序,类似微软的.com技术。凭借java跨平台的优势,用EJB技术部署的分布式系统可以不限于特定的平台。EJB (Enterprise JavaBean)是J2EE的一部分,定义了一个用于开发基于组件的企业多重应用程序的标准。其特点包括网络服务支持和核心开发工具(SDK)。 在
2009-06-15 16:29:00
688
原创 Pragmatic Struts
Struts 1.2 其实已经大不同,只要大家有简约的态度,即使我们日常的Struts,同样可以写得非常精简,不一定要如传统观念认为的那么繁重,从而节约每天编码的时间。 Struts与Spring结合的基本知识请阅读Struts使用要点。1.DispatchAction 以一个Controller响应一组动作绝对是Controller界的真理,Struts的
2009-06-10 13:11:00
443
转载 Struts1和Struts2的区别和对比
• Struts1要求Action类继承一个抽象基类。Struts1的一个普遍问题是使用抽象类编程而不是接口。 • Struts 2 Action类可以实现一个Action接口,也可实现其他接口,使可选和定制的服务成为可能。Struts2提供一个ActionSupport基类去 实现 常用的接口。Action接口不是必须的,任何有execute标识的POJO对象都可以用作Struts2
2009-06-09 13:30:00
511
原创 JSTL使用说明
jsp head jstl相关jar包简介mail.jar java发送电子邮件 ,里面包含了activation.jar和mail.jar两个包.通过里面的类的调用便可以达到发送电子邮件的目的.里面....... dom.jar 文档对象模型”(DOM)允许开发者在 XML 结构内引用、检索和更改 XML 结构中的各项元素。jax
2009-06-05 12:54:00
890
转载 Why should integrate Apache with Tomcat
There are many reasons to integrate Tomcat with Apache. And thereare reasons why it should not be done too. Needless to say, everyonewill disagree with the opinions here. With the performance of T
2009-06-04 15:54:00
507
转载 spring propagation
tx:advice id="txAdvice" transaction-manager="myHibTxManager"> tx:attributes> 对get/load/search开头的方法要求只读事务 -->
2009-06-03 18:10:00
1671
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人