Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there any good library for reading / writing DBF files in java or any other language ?
You might give this library a try:
http://dans-dbf-lib.sourceforge.net/
It is open source (GPL) and pure Java.
Its easy to get to via OleDB provider, such as via .Net, Visual Foxpro would obviously be able to read it natively.
A quick google for dbase and jdbc brought back a number of links for an xbase jdbc driver called StelsDBF. Can't say I've used it or know more than a quick google, but that would be my Java answer.
An alternative Java solution would be to set up an ODBC data source for dbase and then use the JdbcOdbc bridge
I've used the JDBC driver from HXTT. It is type-4 (pure java) and worked well. My experience with the JdbcOdbc bridge for the same task was quite poor but that may have changed in newer releases. HXTT's driver is a commercial product.
"any other language"? like in Python, maybe?
in Python I'm using this one: dbfpy. (not to be confused with pydbf.)
very usable indeed.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 months ago.
Improve this question
I'm trying to understand how car audio media works. I have read emmc, and found here .ifs file. By using IFSTool I have extracted all files from .ifs and found Intel .jxe file. OK I have decompiled .jxe file to Oracle .jar by using this tool: https://github.com/spacemeowx2/jxe2jar I have made editions, but is there a way to convert it back to Intel JXE? What tool/software should I use?
According to the documentation for jxe2jar, the reverse conversion can be performed using jar2jxe.
As far as I can tell, that tool is only (legally1) available as a part of various IBM commercial products; e.g. WEME J9.
Unfortunately, the relevant IBM documentation doesn't seem to be publicly available either.
1 - If you google for (say) "jar2jxe download" you may find download links from (ahem) "3rd-party sites". But there are no guarantees that what you will get when you download will be 1) a legal copy, or 2) free from malware. If you need to work on a codebase that was built using IBM proprietary tools, you are strongly advised to get a legal copy of the tools for yourself.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Currently we are working on an existing system that uses C# webserver interacting with OSGEO Mapguide and MS-SQL Server. Displays the map and layers in a JS client app using openlayers.
Mapguide is very slow and we'd like to run on Linux, so I am researching for how to do it using Java or Scala. I'd like to develop a GIS server using Java and client app using JS with openlayers (without mapguide). For now I don't mind wich DB to use (SQL or NoSQL).
Is there a 3rd-party that can help me? An example perhaps.
If you prefer java based GIS system, the GeoServer which is written in Java would be one of the best choice you can have. It supports various of DB and use OGC WMS as its output and it runs fast at least for me. This works with OL3 naturally and there are many examples from the large user community and detailed tutorials that you can find online. Good luck!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am looking to make a Java based application that also uses an external MySQL database. Does anyone know of some good resources that I could read up on? I am very interested to give this a shot!
Thanks in advance!
The standard API to use databases from Java is JDBC. See the JDBC Tutorial to learn how to use it.
You'll need a JDBC driver to connect to MySQL. You can get that at the MySQL website: Connector/J download.
MySQL provides a JDBC driver, so you can use pretty much any Java database tutorial to learn how to do it.
You can also use all of the usual candidates for mapping DB resources to Java objects (Hibernate, EclipseLink, ...).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I need simple modbus Java library with source code. I found on google but there is .jar file and doesn't have strong using manual. Can anybody suggest me modbus library with using manual or source code ?
You can try Jamod. I never used it, but a colleague of mine used it sometime ago and he was pleased with it.
Try this one:
http://sourceforge.net/projects/jamod/files/jamod/1.2/
By the way, you can use JDGUI to see the sources of any jar file.
FieldKit is paid and open source, and haves support for several languages including Java
jModbus Project
j2mod is a fork of jamod
If you are using Modbus RTU (Serial) Java Communications API is needed; stolen from FieldKit documentation:
The Java Communication API is available from different sources:
Sun Microsystems is publishing versions for the Solaris and the Windows platform at http://java.sun.com/products/javacomm/.
Keane Jarvi publishes a LGPL licensed Linux and cross-platform COMM API at http://www.rxtx.org/.
An excellently performing package for a large variety of platforms is the SerialPort package from Solutions Consulting at http://www.serialio.com. Using this package, poll cycles of less than 10 ms can be achieved!
Perhaps jSSC is a good javax.comm implementation too.
There is another one recent solution modbus4j.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm wondering if I can access to a Posix Message Queue in Java as I have an application that can't be modified and uses a message queue to talk to other processes.
Is there any api or package that do that?
I know that I can use JNI but I need to do this ASAP so no time to develop that.
Regards.
A bit of Googling found Posix for Java.
Take a look at JNA at GitHub (latest JavaDoc). Quoting the project's description:
JNA provides Java programs easy access
to native shared libraries (DLLs on
Windows) without writing anything but
Java code—no JNI or native code is
required. This functionality is
comparable to Windows' Platform/Invoke
and Python's ctypes. Access is dynamic
at runtime without code generation.
Several projects are using it, including IntelliJ IDEA, Cassandra, and Netbeans.