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 intend to write an app for Windows Phone 7, then port it to Android. Database usage is for persisting a small amount of user-generated data.
I am considering cross-platform databases because I'd prefer the code-bases to be similar, ideally the presentation-layer code would have the biggest differences.
The only cross-platform mobile database I've found so far is db4o, but deployment to the WP7 emulator is a non-starter, plus their documentation emphasized that their Silverlight/WP7 support is still a "work in progress". I'd rather get on with making my app than waiting for their house to get in order.
I may resort to using an XML file, but before I do has anyone else spotted .Net/Java mobile databases out in the wild that are worth a look?
What's wrong with SQLite?
Android supports it out of the box, and even though I'm not familiar with WP7 I think it is well supported.
Unless you are looking for a cross-platform ORM.
We have an app that is on Android, iOS, and WP7 that all use the same SQLite database. Using a SQLite database is really easy and straight forward in Android and iOS. It is NOT supported out of the box on WP7 but there are a number of guides to getting it working out there. I wrote my own guide using the Community C# SQLite Project which you can find here: http://www.wirebear.com/blog/2010/11/12/using-sqlite-in-your-wp7-app/ but there are several other options that you should be able to find relatively easily.
However, not really knowing what exactly you are trying to save, a database could be overkill. If it is relatively simple data and/or pretty small, XML or JSON are both fine options that can be stored, retrieved and parsed easily on all three platforms.
I suggest SQLite or your own xml implementation. I'm sure there's a library for almost every os out there for managing xml databases. Plus you won't resort on privative or complex open source databases. Remember KISS.
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 2 years ago.
Improve this question
I'm planning to write a simple program that displays course prerequisites for students at my university in graph form (ie as a network of vertices and edges). I'd like to embed the program in a webpage to save people the hassle of downloading an executable.
Currently I'm looking at making my program a Java applet (Java also would give me access to the handy Swing library), but I don't like the fact that applets can't be viewed on most mobile devices.
What alternatives to applets exist for a project like this? I'd like to make it compatible with as many devices as possible, and also not have to build the graphics stuff from scratch.
One final consideration is I'm doing this mostly as a learning exercise. Ideally the tools I'd be working with would be helpful to know in the future.
Please don't use applets. They have been sufficiently deprecated.
The best way to do this is by using html/js/css. A lot of useful libraries exist that can help you with this task. jQuery seems obvious, but there's also d3.js or vis.js for displaying visual representations of data, and bootstrap for responsiveness (mobile friendliness).
You may use Angularjs with angular-chart for Showing graph in Web Browser.
If your graph data is dynamic you might use Nodejs and mongoDB for backend.
angular-chart is responsive and its easy to show dynamic graph. But as it uses HTML5 canvas some mobile browsers might not show its transitions smoothly depending on the device.
I personally do not prefer using applet in web browser when the same functionality can be achieved using great frameworks like Angularjs.
why dont you try to build your project through Servlet framework
by the way cgi were removed by servlet because of the handling of the request
applet uses the same concept
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 8 years ago.
Improve this question
Is there a plugin for eclipse that allows the user to create, connect and insert a SQL database into an application, all from within eclipse?
I'm new to working with databases, while I understand the syntax of SQL well enough to write the code, I find working with external SQL software(MySQL and SQLite), then importing files into my application to be a little overwhelming at this point. Additionally, tutorials online seem varied, and multistage in such a way that I find it difficult to find "the right approach".
I'm sure this is something I will become familiar with in time, but for now I'd really like to just experiment by building simple applications that utilize a database.
I was hoping to streamline this process by finding a plugin that could handle most of the above for me. Preferably with heavy use of a GUI. Recommendations?
If such a plugin doesn't exist, or if you have other related suggestion about: software, tutorials, or advice on the simplest way to incorporate a database into my work, I'd like to hear that too.
Two finial questions. One, I've worked with MySQL and SQLite. Can/would you recommend alternative software for working with a Java application? Two, do I need to DL and install JDBC software or is that included in the JDK 8?
I'm currently running Windows 8.1 and eclipse Luna.
Thank you.
Take a look for following plugin:
Eclipse SQL Explorer
Eclipse Data Tools Platform (DTP) Project
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 8 years ago.
Improve this question
I have been vetting the process of Code Generators online. I started my search with a promising but not popular Eclipse plugin called FastCode (http://www.3pintech.com/products/fast-code/).
It had a higher learning curve with a tradeoff for flexibility. That was find for me because a lot of our application follows a certain standard that I would need to maintain with the generated code. Unfortunately it was very buggy and I think it may be a dead project.
On to SpringFuse. This looked promising, but I have a few problem with it.
1) We are far into our project development lifecycle and I only need to use it for a subset of new tables in our MYSql database. Springfuse seems to take a "let us generate your entire application" approach.
2) We don't use Hibernate and SpringFuse seems to be tied into this
3) It doesn't seem to be that configurable
What I would like to do is start with a database table, and from there generate a corresponding POJO, DAO for CRUD operations, Service Layer to call the DAO and a Unit test for testing each layer. We have a standard pattern for creating our DAO layer that I will be using.
I am considering using Perl or maybe another templating system to do this but that will involve a significant amount of coding on my part. I was wondering if the SO community knows of any good technologies to use here.
I actually think an online sevice would be awesome here, something like the awesome JSON2POJO, but I don't think it exists.
After some research, the solution that worked best for me was to use the FreeMarker Java Template Engine and write my own code generation system. Using regular expressions to parse our database file and converting some of our existing code into FreeMarker templates only took a couple of days and yielded a system that is going to save us a lot of time.
I recommend this approach to users who are in a similar spot for highly customized Enterprise Applications. Most of the rendered code is not fit for primetime, but the base boilerplate code I'm generating results in huge time-savings.
FreeMarker's templating system is very similar to other technologies like JSTL and it throws very descriptive error messages so designing the templates was very simple.
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 trying to integrate S3 with one of my content management systems. The idea is that I want to have document control features.
The system is quite unique in that it handles thousands of sites, then each site can have any number of contributors or authors who have permission to upload documents and files to the document control module of the site.
I haven't coded the document control module yet, but I would like to get started right away.
I know there are good developer tools for S3 already, however I would really like to make this even easier and even use third party open source products if they are licensable under resale.
Does anyone know of any kind of Java apps for example which makes uploading to S3 easy, or should I just concentrate on developing something which is targetted for my specific case usages.
I do a lot of interface design, but for this, I am really not sure how I should handle it, so I would be grateful also if people could provide examples of websites which have good support for document control and makes it look easy. I don't want something complicated which crazily complex workflow rules, I just want to create something so that site owners can publish documents, images etc. Manage the versions of them and also have a centralised bucket for adding site themes are images.
Here's a good PHP class to get you started with uploading files and managing buckets - http://undesigned.org.za/2007/10/22/amazon-s3-php-class
For java jets3t is the best I hav found: https://jets3t.dev.java.net/
I've used their packaged software and the libs in my own apps and both work very well.
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'm using Berkeley DB Java edition, via the DPL interface.
I want to ask if someone knows about any GUI library that could make it easy to browse the data saved in the database.
I know that BDB documentation says that the metadata about the stored entities is not saved in any place and therefore only the person who have written the data can know what are the types of the classes that would be returned from there. That's why I'm searching for a library (not a complete program) that would be included to the main project and so it would know the types of my classes and would be able to show the data correctly.
p.s. I've found this bdb-browser but it seems like a dead project.
Update:
So far I've found a GUI that shows the statistics gathered for the BDB via the JMX. Here is how to use it: http://www.oracle.com/technology/documentation/berkeley-db/je/jconsole/JConsole-plugin.html
Still searching for data browser...
You could try DbVisualizer.
DbVisualizer doesn't directly support the Berkeley DB, but does provide JDBC drivers for many databases,
You can use Execute Query to connect Berkeley DB. Its is a free software. You can get the distribution from http://executequery.org
Here is an extremely simple browser. Needs to be compiled though.
https://github.com/ferruccio/bdbvu
I did a quick search and didn't find anything.
I don't think you're going to have a lot of luck looking for a data browser, because the format of the value in each database entry is going to be variable. For example, it might be primitive data, data written out by the default Java serialization, or a custom format for an instance of a class which implements Externalizable.