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

深入理解C++11

深入理解C++11

Michael Wong、IBM XL编译器中国开发团队 / 机械工业出版社 / 2013-6 / 69.00元

《深入理解C++11:C++11新特性解析与应用》内容简介:国内首本全面深入解读C++11新标准的专著,由C++标准委员会代表和IBM XL编译器中国开发团队共同撰写。不仅详细阐述了C++11标准的设计原则,而且系统地讲解了C++11新标准中的所有新语言特性、新标准库特性、对原有特性的改进,以及如何应用所有这些新特性。 《深入理解C++11:C++11新特性解析与应用》一共8章:第1章从设计......一起来看看 《深入理解C++11》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

html转js在线工具
html转js在线工具

html转js在线工具