使用Oracle ADF开发Java Swing应用程序

概要:
参考如下链接将应用程序需要的数据FOD导入到linux box上:http://www.oracle.com/technetwork/developer-tools/jdev/index-095536.html。首先,使用wizards创建Business Components,用来访问数据库和实现业务逻辑。然后,创建一个frame,作为databound Business Component客户端,enable Oracle ADF data binding。然后从Data Control面板拖放绘制出主要的编辑表单面板,和用于浏览编辑记录条目的细节面板。
创建好数据库后,可以通过Wizards创建Database Connection,数据库会在Application Resources panel下面出现Connection;然后通过Create Business Components from Tables wizards创建BC,在“Data Controls panel”就可以看到刚刚创建的view等信息。


运行时发现如下错误:Configuration file model/common/bc4j.xcfg is not found in the classpath。If your .jar ViewController project deployment profiles don't have your Model project as a dependency, you will get the .bc4j error as well.
解决方法如下:
右键点击project view->Edit Project Source Path...->Use Custom Settings->...


参考
【1】http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_19/jdtut_11r2_19.html
【2】https://cn.forums.oracle.com/forums/thread.jspa?messageID=9545622
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值