最新文章列表

Eclipse4.2+Jboss7/Jboss-eap-6.0+EJB3.1分布式开发 最终篇

最终篇(终于可以展示分布式调用了)      经过我们的努力,现在我们马上就能见到Jboss7下面EJB的分布式开发和调用了。下面,我将讲解使用前对吼的配置。 打开我们的Client端Jboss Server的standalone.xml文件 添加security-realms,还记得我们第一篇里面在Server端配置的用户名和密码吗?就是下面这个<secret value=&qu ...
nenusoul 评论(0) 有2769人浏览 2013-05-09 14:34

Eclipse4.2+Jboss7/Jboss-eap-6.0+EJB3.1分布式开发 第三篇

第三篇(EJB Client端的开发) 建立一个Dynamic Web Project,项目名称为EJBClient。项目结构为: 还记得上一篇中给Server端的项目添加Maven支持了吗,这里就用到了。右键那个项目->run as->maven build...,run 完之后你就可以在项目根目录的target下面找到此项目打成的jar包了。 E:\project\J2E ...
nenusoul 评论(0) 有2034人浏览 2013-05-09 13:50

Eclipse4.2+Jboss7/Jboss-eap-6.0+EJB3.1分布式开发 第二篇

第二篇(EJB Server端的开发)        在上一篇里我们已经讲了Server端的配置,这一次我们要来讲一下EJBServer端的开啊,当然这个是针对Jboss7的开发, ...
nenusoul 评论(0) 有2691人浏览 2013-05-09 10:38

Eclipse4.2+Jboss7/Jboss-eap-6.0+EJB3.1分布式开发 第一篇

第一篇(EJB Server端的配置) 开发工具准备:Eclipse4.2,jbosstools-4.0.0.Final,Jboss7或者Jboss-eap-6.0(架构一样),这些工具在哪里下载和发布以后我会发布一个骗专门的博客来说明,今天在这里就不多说了,我们直接进入正题。   开发环境说明, 我用的是windows7操作系统,其他操作系统可能会有些不同的配置方法,但是肯定是可 ...
nenusoul 评论(0) 有4271人浏览 2013-05-09 09:58

jee6 学习笔记 7.1 - @WebService

Exposing an EJB as web service is just a matter of a few annotations. This example exposes an ejb as standard SOAP web services. It uses default JAX-WS 2.1.6, which is part of the JDK1.6 distribution ...
jXee 评论(0) 有1823人浏览 2012-08-03 13:26

jee6 学习笔记 6.3 - @Asynchronous

the idea is to the EJB3.1 @Asynchronous ejbs screen shot 1: call async ejb without receiving a result screen shot 2: call async ejb and get a result the jsf page: <!DOCTYPE html PUBLIC &qu ...
jXee 评论(0) 有1104人浏览 2012-07-27 11:22

jee6 学习笔记 6.2 - @Schedule

This tests the ejb3.1 annotation @Schedule. The idea is to print the server time regularly, in a scheduled task method. package com.jxee.ejb.test.singleton; import java.util.Date; import java ...
jXee 评论(0) 有1845人浏览 2012-07-26 08:33

jee6 学习笔记 6.1 - Singleton EJB

The idea of the test is to print the instance of the singleton ejb for different requests. The singleton ejb is referenced in the request scoped backing bean. the screen shot of the test page: th ...
jXee 评论(0) 有1751人浏览 2012-07-20 13:39

jee6 学习笔记 6 - EJB3.1 What's New

The following is a brief list of the new features of EJB3.1 1. no interface required @Stateless public class MyEjb { ...} 2. singleton EJB: @Singleton @Singleton public class MySingleton { .. ...
jXee 评论(0) 有910人浏览 2012-07-20 05:55

jee6 学习笔记 3 - an EJB3.1 DAO

DAO interface. package com.jxee.ejb; import javax.ejb.Local; import com.jxee.model.User; /** * although it's not required, it's good practice to define a DAO interface. * annotation @Loca ...
jXee 评论(0) 有1766人浏览 2012-07-05 07:36

jee6 学习笔记 2 - @ManagedBean

看看BackingBean(or ActionBean if you like),先上图。 the login screen login validation 1: missing required fields login validation 2: wrong password home screen: after successful login login.xhtml < ...
jXee 评论(0) 有1265人浏览 2012-07-04 09:02

jee6 学习笔记 1 - 开发环境的配置

jee不停地折腾,好像09年推出了jee6,但我们还在用jee5。从jee5开始,jee将ejb技术进行了改良,增加了注入功能,减少配置文件,这是好事。在ejb3基础上, ...
jXee 评论(0) 有2032人浏览 2012-07-03 13:29

EJB3.1 JBoss7.1 Eclipse3.7

EJB3.1 JBoss7.1 Eclipse3.7 ------Hello World 一、环境配置: JDK:正常配置 Eclipse:正常下载,解压(V3.7) JBoss:正常下载,解压(V7.1) 二、JBoss Tools安装 在Eclipse里面安装JBoss Tools3.3 1、【Help
return_space 评论(0) 有2274人浏览 2012-04-24 23:10

最近博客热门TAG

Java(141744) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) HTML(59043) JavaScript(54919) .net(54785) Web(54514) 工作(54118) Linux(50905) Oracle(49875) 应用服务器(43289) Spring(40812) 编程(39454) Windows(39381) JSP(37542) MySQL(37267) 数据结构(36424)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics