J2ee
文章平均质量分 59
DryKillLogic
Carpe Diem!
I went to the woods because I wished to live deliberately,to front only the essential facts of life,and see if I could not learn what it had to teach,and not,when I came to die,discover that I had not lived …
展开
-
JNDI 在 J2EE 中的角色(转)
JNDI 在 J2EE 中的角色<br />把您从麻烦中解脱Kirk Pepperdine (kirk@javaperformancetuning.com), 首席技术官, JavaPerformanceTuning.comKirk Pepperdine 是 JavaPerformanceTuning.com 的首席技术官,过去 15 年里,他一直专注于对象技术和性能调整。他还是 Ant Developer's Handbook 一书(MacMillan)的合著者之一。转载 2010-12-07 11:16:00 · 1028 阅读 · 0 评论 -
JMX之通过RMI方式连接JMX Server
除了可以在HTML中管理原创 2014-08-07 09:37:46 · 17988 阅读 · 2 评论 -
JMX之Notification
Notification起到了Mbean之间沟通桥梁的作用。JMX notification model 和 java event model 类似,将一些重要的信息,状态的转变,数据的变更传递给 notification listener。以使资源更容易管理。JMX notification 由四部分组成:1、 Notification2、 Notification br原创 2014-08-05 11:47:46 · 1442 阅读 · 0 评论 -
JMX之通过JConsole连接JMXServer管理MBean
这篇文章介绍原创 2014-08-07 10:09:12 · 4259 阅读 · 0 评论 -
JMX之Model MBean
Model MBean同样也是动态MBeans,可以理解为这类MBean是基于一个基本的StandardMBean,并且完全可配置的,在运行期间进行自我声明;它们为资源动态工具提供一个一般性的,有默认行为的MBean类。原创 2014-08-05 13:29:56 · 1419 阅读 · 0 评论 -
JMX之Standard MBean
1.Standard MBeanStandard MBean()是JMX管理构件中最简单的一种原创 2014-08-05 11:17:04 · 1250 阅读 · 0 评论 -
JMX架构的简单介绍
Java管理扩展JMX(Java Management Extensions)是一个为应用程序植入管理功能的框架。JMX是一套标准的代理和服务,实际上,用户可以在任何Java应用程序中使用这些代理和服务实现管理。JMX是一种应用编程接口,可扩充对象和方法的集合体,可以用于跨越一系列不同的异构操作系统平台、系统体系结构和网络传输协议,灵活的开发无缝集成的系统、网络和服务管理应用它提供了用户界面指原创 2014-08-05 10:01:28 · 3269 阅读 · 0 评论 -
深入学习EJB3.0之一:概述与搭建环境
<br /><br /> 现在做的项目正在使用EJB3,虽然用了有一段时间,但是自己总感觉并不是十分理解其中的许多内容,也并不清楚到底用EJB有什么好处,所以找了一本书(EJB3.0入门经典)进行研读,并根据自己和网上大家的理解准备写一系列详细的学习日志,如有错误,请大家不吝赐教。<br />一、EJB的概述:<br />1.EJB (Enterprise JavaBean)是J2EE的一部分,定义了一个用于开发基于组件的企业多重应用程序的标准。在J2EE里,Enterprise Java Beans原创 2011-02-15 13:17:00 · 4134 阅读 · 2 评论 -
tomcat中引入td背景问题
今天开始吧静态页面转换成动态页面,将完成的静态页面部署到tomcat中,访问时却出现了不和谐的一幕: 在静态页面中访问正常的背景图片,在容器中却无法显示??? 查了N多资料...... html:原创 2010-04-17 17:04:00 · 796 阅读 · 0 评论 -
JTA实现跨数据库操作
EJB3.0实现跨数据库进行存取环境:MySQL5.1/JBoss5.1 1.加入跨数据库的数据源,由于JBoss没有提供mysql的配置文件,所以要手工加入:mysql-xa-ds.xml:(注意:不是mysql-ds.xml)<!--See http://www.jboss.org/community/wiki/Multiple1PC for informati原创 2010-04-16 13:45:00 · 3006 阅读 · 0 评论 -
从form的enctype属性到Content-Type再到request.getInputStream() .
程序更新后,发现从flash发送过来的请求流接收不到了,百思不得其解,网上查了查,发现了下面的文章: 还是一个异常引发的故事:需要实现一个手机客户端行为分析的需求,手机客户端需要上传一些数据文件。手机客户端通过http协议post方式上传数据文件的时候,我们发现在服务器端无法通过request.getInputStream()获取到相应的数据,调用request.getInputStr转载 2013-03-15 13:18:03 · 1076 阅读 · 0 评论 -
WEB-INF访问受限问题
今天开发一个新功能,向项目中添加了一个JSP页,这个JSP页在WEB-INF中的一个目录下。做好之后放到环境上想看看效果如何,但是总是显示404。求助后才知道,原来WEB-INF这个文件夹是一个受保护的文件夹,不允许客户端进行直接访问的。这是因为基于Servlet的声明,WEB-INF不作为Web应用的公共文档树的一部分。做了2年多J2EE开发,现在才刚知道.... 百度百科上的介原创 2013-03-05 11:10:59 · 3622 阅读 · 3 评论 -
URL与URI的区别
什么是URI?Web上可用的每种资源 - HTML文档、图像、视频片段、程序等 - 由一个通过通用资源标志符(Universal Resource Identifier, 简称"URI")进行定位。 URI一般由三部分组成: 访问资源的命名机制。 存放资源的主机名。 资源自身的名称,由路径表示。 考虑下面的URI,它表示了当前的HTML 4.0规范: htt转载 2010-10-27 10:07:00 · 620 阅读 · 0 评论 -
HTTP POST GET 本质区别详解
一 原理区别 一般在浏览器中输入网址访问资源都是通过GET方式;在FORM提交中,可以通过Method指定提交方式为GET或者POST,默认为GET提交 Http定义了与服务器交互的不同方法,最基本的方法有4种,分别是GET,POST,PUT,DELETE URL全称是资源描述符,我们可以这样认为:一个URL地址,它用于描述一个网络上的资源,而HTTP中的GET,POST,PUT,DELETE就对应着对这个资源的查 ,改 ,增 ,删 4个操作。到这里,大家应该有个大概的了转载 2010-10-22 14:13:00 · 662 阅读 · 0 评论 -
JMX之Dynamic MBean
JMX的Dynamic MBean不需要zidingyMBean接口原创 2014-08-05 13:16:10 · 3261 阅读 · 0 评论