KyFrame JAVA 的开发框架工具

程序名称:KyFrame

授权协议: MIT

操作系统: 跨平台

开发语言: Java

KyFrame 介绍

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());
        }
    }
}

KyFrame 官网

http://git.oschina.net/ZICK_ZEON/sshdemo

相关编程语言

MuPlayer 是一款跨平台、轻量级的音频播放解决方案,...
OS FLV 是一个 开源和可嵌入网页的flv播放器。 这个...
DewPlayer音乐播放器,样式很简单,而且很实用.播放器...
JW FLV MEDIA PLAYER是一个开源的在网页上使用的Fla...
Speakker 是一个基于 Web 浏览器的音乐播放器,只提...
Player Framework 是一个开源的支持 HTML5 的视频播...