JAVA 的开发框架工具 KyFrame

码农软件 · 软件分类 · J2EE框架 · 2019-03-26 18:12:47

软件介绍

KyFrame 是一套JAVA的开发框架工具。

测试代码:

package action;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

import dao.User;
import dao.UserDAO;


/**
 * @author syb
 *
 */
public class Test {
    /**
     * @param args
     */
    public static void main(String[] args) {
        // TODO Auto-generated method stub
        try {
//下面两句获取上下文及hibernate的数据模型对象DAO
            ApplicationContext ctx = new FileSystemXmlApplicationContext("C:\\Users\\lenovo\\Workspaces\\MyEclipse 8.5\\ssh20140605\\src\\applicationContext.xml");
            UserDAO userDAO = (UserDAO) ctx.getBean("UserDAO");
            User u=new User();
            u.setId(0);
            u.setName("111");
            u.setCity("w");
            u.setCountry("sss");
            //u.setCreditLimit(new Integer(10));
            userDAO.save(u);
        } catch (BeansException e) {
            System.out.println(e.getMessage());
        }
        catch(Exception ee){
            System.out.println(ee.getMessage());
        }
    }
}

本文地址:https://www.codercto.com/soft/d/2212.html

沸腾十五年

沸腾十五年

林军 / 中信出版社 / 2009-7 / 59.00

覆雨翻云的中国网事; 荡气回肠的产业传奇;虚拟世界的真实讲述;万象网络的还原走笔。 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 本书记录了一群在中国创造属于自己历史的人和他们的故事,他们是中国互联网自1995年兴起的波澜壮阔中的弄潮儿和财富新贵的代表:马化腾、丁磊、张朝阳、马云、陈天桥、李彦宏、史玉柱、田溯宁、张树新、王志东、王峻涛、雷军、......一起来看看 《沸腾十五年》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

随机密码生成器
随机密码生成器

多种字符组合密码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具