Event causes:
The company has a business needs, two systems docking, the two sides of the intermediary library to carry out data exchange, set up the middle table, the other side of the use of Oracle, our use of SQL Server, I am responsible for writing a program to read data from Oracle's intermediate tables to write to the company's SQL Server, I used the Spring+mybatis+quartz+atomikos framework to complete a project that configured multiple data sources to read data from Oracle to SQL Server,
Personal Home page has been migrated to: http://www.blog4app.com
1. Use Eclipse's export. Generates a jar package that specifies the class of the program's entry.
2, because the use of export will not be outside the jar pack, packaged together. So the following actions are needed:
1 For example, create a new folder under/root/test
2 to the 1 generated jar packa
command to run the jar package:Java-jar Hello.jarHowever, if the project references other jars, you can see that the referenced jar is added to your jar when you package it with the IDE tool, but the runtime prompts classnotfoundexception.At this point, you need to modify the MANIFEST.MF in the auto-generated Hello.jar
Eclipse Export executable Java Engineering/executable jar files (including Third-party jar packs)
Brother deployed a new virtual machine, the new semester big get up! Because the reptile code was unstable, it was always run directly with Eclipse, and then the problem was modified. But this is a bit of a hassle, and eclipse itself takes up memory. So this afternoon to the previous code good stopgap, a lot o
Database connection pool: (inside put a lot of connection data links, responsible for allocation, management, release database connection, reusable connection, but not new) for data Unified connection to establish a buffer pool, put a certain database connection, use in the buffer pool inside take, and then back to the buffer
In some special cases, multiple jar packages need to be packaged into a single jar file. If you use MAVEN, you can add the following plugins: Build> Plugins> plugin> Artifactid>Maven-assembly-pluginArtifactid> Configuration> Archive> Manifest> to replace the
Add a local jar package to maven and a jar package to maven
Today, I met a jar package that is not in the mavan warehouse, so I can only add a local jar package. It took a lot of time to find information and finally OK. Therefore, it is recorded here.
1. For the first time, you can use
However, when running jetty and
1. Use jar to packageCode
Jar-cvfm my. Jar myframe. config myframe
Explanation: My. jar is the JAR file to be generated in the current directory. Its name can be obtained by itself, but its suffix must be jar.
Myframe. confi
Use the Eclipse plug-in fat jar
1. download and install the plug-in fat jar
:Http://fjep.sourceforge.net/
If you install the Eclipse plug-in, I believe everyone is familiar with it.
If the installation is successful, you can see the fat jar preferences option in window-preferences in the eclipse option bar.
2. Right-click-export-other-fat
Effect Chart:
This pair of frames is completely inherited, modeled after Alertdialog, only to achieve a custom effect.In addition, SetIcon is not implemented because most of the dialog boxes in the iphone have no icons.Accessories include examples, jar packages, jar package source.File Introduction :Aiphonedialogtest.rar This is the example projectNote In use to import the
Tags: 1.2 pos. com body different project-driven Baidu 1.4 Simply put, if the use of jdk1.2 and jdk1.3 use Classes12.jar, if the use of jdk1.4 and jdk1.5, choose Ojdbc14.jar. Drive Pack Classes12.jar for JDK 1.2 and JDK 1.3, and Ojdbc14.jar for JDK 1.4 and above, so try not to use Classes12.
-dpackaging =jar-dfile=E:\oracle\product\10.2.0\db_1\jdbc\lib\ojdbc14-10.2.0.4.0.jar. a "BUILD SUCCESS" message appears stating that the installation was successful!. The Ojdbc14-10.2.0.4.0.jar driver package is now successfully installed in the local MAVEN library. 3, in the Java EE Project loading Ojdbc14-10.2.0.4.0.jar
Related Articles Directory:java thread pool threadpoolexecutor usage and analysis (i)java thread pool threadpoolexecutor usage and Analysis (ii)-execute () principlejava thread pool threadpoolexecutor usage and Analysis (iii)-Termination thread pool principleThe following is the directory outline for this article:One,
First download the fat jar:
Http://sourceforge.net/project/showfiles.php? Group_id = 115990 package_id = 125924
After downloading the package, decompress it. There is a plugins folder with a jar package. Set thisFolderPut the dropins directory of myeclipse. Here, my path is D:/program files/genuitec/myeclipse 8.5/dropins, which is for your reference only. After restarting eclipse, right-click the project a
On GitHub, there are a lot of source code that are MAVEN projects, but many do not have jar packages. To find the words on the Internet the first is more difficult, the second is afraid not enough original. With Maven+eclipse, we can visualize the build of the MAVEN project into the jar library package and the source jar package.1. Download maven:http://maven.apa
Label:Database connection pool: (inside put a lot of connection data links, responsible for allocation, management, release database connection, reusable connection, but not new) for data Unified connection to establish a buffer pool, put a certain database connection, use in the buffer pool inside take, and then back to the buffer
First, preparatory work
Tools: Jd-gui anti-compiler toolDownload Address: https://github.com/java-decompiler/jd-gui/releasesHere I use the Mac, so directly download the latest version of Jd-gui-osx-1.4.0.tar as a demo, window system can download Jd-gui-windows-1.4.0.zip Two, operation steps
1, will download the finished tar file double-click Decompression Open, and then double-click Jd-gui.app Open Software, the interface is as follows
2, click on the top left corner of the folder icon, directl
http://yeelor.iteye.com/blog/1646928
For jar packs that are not in the official warehouse, MAVEN imports jar packages with the following command from the local warehouse
CMD code MVN install:install-file-dgroupid= Package name-dartifactid= Project name-dversion= version number-dpackaging=jar-dfile=jar file path
Take
From usage to principle learning Java thread pool, principle java Thread PoolSource: technical background of SilenceDuthttp: // www.codeceo.com/article/java-threadpool-learn.htmlthread pool
In object-oriented programming, it takes a lot of time to create and destroy objects, because creating an object requires obtaining memory resources or other resources. Even more so in Java, virtual machines will try to
One, compile a simple apkLocal_path: = $ (call My-dir)Include $ (clear_vars)# Build All Java files in the Java subdirectoryLocal_src_files: = $ (call all-subdir-java-files)# Name of the APK to buildLocal_package_name: = LocalPackage# Tell it to build an APKInclude $ (build_package)Second, compile an apk that relies on the static. jar file. local_path: = $ (call My-dir) include $ (CLEAR_ VARS) # List of static libraries to include in the PACKAGElocal_s
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.