论坛首页 Java企业应用论坛

自己写的基于swing,hibernate,spring,mail等的托盘桌面应用框架[2011-2-25更新]

浏览 10282 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (5)
作者 正文
   发表时间:2011-02-11   最后修改:2011-02-25
我取名为《企业级信息控制器(EIC)》,当然目前还是愿景,还有很长的路要走。

此系统的功能简要描述:提供一套框架,开发者能够基于托盘来实现各种感兴趣的功能。

现有功能:
1 托盘管理器(eic-tray),实现托盘控制,菜单管理等功能(已有相关文档)。
2 EIC核心功能控制器(eic-ui),实现配置管理器,服务管理器,基于模型的表单管理器,数据字典管理器,消息提醒管理器等(基于托盘控制器)。
3 整点报时(eic-whole-point-time-keeping),基于eic核心控制器的一个非常简单的例子程序。仅一个class。
4 桌面滚动文本和快捷输入控制管理器(eic-show),基于eic核心控制器的扩展框架,实现桌面滚动消息显示和控制。
5 google search 快捷搜索(eic-google-search),基于桌面滚动文本和快捷输入控制管理器的一个非常简单的例子程序。支持google和百度等。
6 英语单词助手(eic-english-helper),基于桌面滚动文本和快捷输入控制管理器的一个扩展,支持基于google翻译服务的快捷翻译,生词滚动再现,单词巩固等功能。
7 计划任务(eic-weekreport),基于EIC核心功能控制器,本来用于我工作计划和提醒,自动生成符合我所在的公司格式的周报并自动发送指定邮箱。不同公司的周报格式,发送方式等,需要另写处理器。
(新)8迷你即时通讯(eic-im),局域网聊天和共享文件必备。支持发送消息和拖放文件并发送出去,支持同时发送多个文件,暂不支持发送文件夹。无需服务器,通过udp广播查找用户和发送消息,通过tcp发送文件

最小运行eic条件:
安装jdk6
下载requiredLib.zip,eic-tray-with-starter.zip,并将他们解压在同一个目录下(下载eic地址:http://sourceforge.net/projects/genww/files/eic/)。

(新)若分功能下载嫌麻烦,这里打了一个包含eic全部功能的整合包(含依赖库),下载后直接点击run.bat即可运行。下载地址:https://sourceforge.net/projects/genww/files/eic-all-with-required-lib-0.1.0.rar/download

其他需要什么功能就下载对应的zip包,解压,并将他们放在同一个目录下即可。

如何获取eic,了解eic详情,下载源码,参与开发等,参见:http://genww.sf.net

诚心希望大家一起来参与开发和使用该项目,希望通过此项目能够结交更多朋友,共同进步。


有任何问题,建议,交友等,请和我联系:lujclu@gmail.com



这里回复一下反馈的问题:
1.无法运行,提示找不到class
  请安装最新的jdk6版本,按说明下载完成以后,运行run.bat(或test.bat)文件即可运行。新版本降低了jdk版本,应该只要是jdk6及以上都可以运行了。

2.获取源码方式
  需要通过svn下载源代码,详情参见:http://sourceforge.net/projects/genww/develop
   发表时间:2011-02-12  
想法很不错,准备观摩一下
0 请登录后投票
   发表时间:2011-02-12  
could not find main class
打包太马虎了!!!!!
0 请登录后投票
   发表时间:2011-02-12  
lgcpeter 写道
could not find main class
打包太马虎了!!!!!

我已经下载运行成功了,项目使用方法How-To中写的很清楚,仔细看一下。需要注意的就是JDK版本要新一些,我原来使用JDK6_05中有部分UI显示类不全,升级到JDK6_23后正常了

在工程中未发现源码下载,请指点下地址,学习一下,谢谢
0 请登录后投票
   发表时间:2011-02-12  
我这里也不能运行,报“Could not find the main class: Files\Java\jdk1.6.0_20\lib;C:\Program”,不知道怎么样才能够运行,我的jdk是jdk1.6.0_20。
0 请登录后投票
   发表时间:2011-02-12  
貌似没有源码,反正我是没找到
0 请登录后投票
   发表时间:2011-02-12  
lgcpeter 写道
could not find main class

我也出现这个错误,jdk是java version "1.6.0_12"
0 请登录后投票
   发表时间:2011-02-12  
wukele 写道
lgcpeter 写道
could not find main class

我也出现这个错误,jdk是java version "1.6.0_12"


项目说明中关于怎样使用写的很清楚,估计你们在配置环境时没仔细看吧。贴过来

How to use EIC: The limit to make EIC run successfully
You just need:
1.Download requiredLib.zip
2.Download eic-tray-with-starter.zip
3.Unzip these files and combine them into one folder.

now your EIC have these features:
1.A eic starter
2.eic-tray controller(for more introduce about eic-tray,see eic-tray-readme.txt)
3.eic-tray with spring support


Make EIC have core feature
Make EIC to support spring,hibernate,have database,dictionary system,service system,ui system,have initial features like reminder,serviceMonitor,propertyEditor etc.
It need tray with menu to call come of the feature.So it required eic-tray.jar.
1.Download eic-ui.zip
2.Unzip the file
3.Required(you need combine all of the files into one folder):
requiredLib.zip
eic-tray-with-starter.zip


Make EIC have hole point time keeping
This is just a example of how to develop a new feature based on eic-ui.jar.You can find just single Class can support this feature in the package.So it require eic-ui.jar.
1.Download eic-hole-point-time-keeping.zip
2.Unzip the file
3.Required(you need combine all of the files into one folder):
requiredLib.zip
eic-tray-with-starter.zip
eic-ui.zip


Make EIC have desktop scroll message,fast form dialog controller.
This is a extra framework.It based on eic-ui.jar and eic-tray.jar.you can do many things such as scrolling message on the desktop which you are interested in,input or control message with fast top dialog,etc.
1.Download eic-show.zip
2.Unzip the file
3.Required(you need combine all of the files into one folder):
requiredLib.zip
eic-tray-with-starter.zip
eic-ui.zip


Shortcut Google Search
This is just a example of how to develop a new feature based on eic-show.jar.You can find just single Class can support this feature in the package.Add this package,you can use Google Search with the desktop dialog.
1.Download eic-google-search.zip
2.Unzip the file
3.Required(you need combine all of the files into one folder):
requiredLib.zip
eic-tray-with-starter.zip
eic-ui.zip
eic-show.zip


English Helper,you can't miss it
This is a tools for chinese user.It can translate new word by google service,review or scroll new work on the desktop,etc.
1.Download eic-english-helper.zip
2.Unzip the file
3.Required(you need combine all of the files into one folder):
requiredLib.zip
eic-tray-with-starter.zip
eic-ui.zip
eic-show.zip

0 请登录后投票
   发表时间:2011-02-13   最后修改:2011-02-13
我这边也不能运行,咋回事??
楼上说说你是如何运行的??
.;C:\Program Files\Java\jdk1.6.0_13\lib\dt.jar;.\eic-framework.jar;.\eic-tray.jar;.\eic-tray_spring_plugin.jar;
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jdk1/6/0_1
3\lib\dt/jar;/\eic-framework/jar;/\eic-tray/jar;/\eic-tray_spring_plugin/jar;
Caused by: java.lang.ClassNotFoundException: Files\Java\jdk1.6.0_13\lib\dt.jar;.
\eic-framework.jar;.\eic-tray.jar;.\eic-tray_spring_plugin.jar;
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: Files\Java\jdk1.6.0_13\lib\dt.jar;.\eic-framework.jar;.\eic-tray.jar;.\eic-tray_spring_plugin.jar;.  Program will exit.

@echo off
setlocal enabledelayedexpansion
set classpath=%classpath%
for %%c in (.\*.jar) do set classpath=!classpath!;%%c
set classpath=%classpath%;
echo %classpath%
java -cp %classpath% cn.com.genww.EICMain
pause
这个批处理文件有问题吗??
0 请登录后投票
   发表时间:2011-02-14  
java10000 写道
我这边也不能运行,咋回事??
楼上说说你是如何运行的??
.;C:\Program Files\Java\jdk1.6.0_13\lib\dt.jar;.\eic-framework.jar;.\eic-tray.jar;.\eic-tray_spring_plugin.jar;
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jdk1/6/0_1
3\lib\dt/jar;/\eic-framework/jar;/\eic-tray/jar;/\eic-tray_spring_plugin/jar;
Caused by: java.lang.ClassNotFoundException: Files\Java\jdk1.6.0_13\lib\dt.jar;.
\eic-framework.jar;.\eic-tray.jar;.\eic-tray_spring_plugin.jar;
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: Files\Java\jdk1.6.0_13\lib\dt.jar;.\eic-framework.jar;.\eic-tray.jar;.\eic-tray_spring_plugin.jar;.  Program will exit.

@echo off
setlocal enabledelayedexpansion
set classpath=%classpath%
for %%c in (.\*.jar) do set classpath=!classpath!;%%c
set classpath=%classpath%;
echo %classpath%
java -cp %classpath% cn.com.genww.EICMain
pause
这个批处理文件有问题吗??


按照How-to说明,第一种,最小运行方式
How to use EIC: The limit to make EIC run successfully
You just need:
1.Download requiredLib.zip
2.Download eic-tray-with-starter.zip
3.Unzip these files and combine them into one folder.

将下载下来的 required.zip 和 eic-try-with-starter.zip 解压在同一个文件夹中(starter启动时会自动加载本目录所有jar包),运行test.bat就启动成功了。

其他程序运行方法类似,将需要的运行的程序文件解压到starter目录,运行test.bat即可
0 请登录后投票
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics