Amazon S3 Integration [closed] - java

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.

Related

Creating a server side for android application [closed]

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 currently making an android application that will be used by a certain number of clients. Each client will have an account and will access information from the server. This information is stored in a DB.
My question is what is the best way to create a server side that will, later on, be compatible with other platforms (iOS, Windows, etc.)?
Can I use sockets on different platforms? Or should I create a Web Service?
I found a certain tutorial that I think is explaining a similar thing, but I think it demands a certain amount of knowledge, and I'm totally new to this, and haven't learned this at faculty (I'm good with sockets but I never had much confidence in them, and the idea of sending HTTP requests to the server looks much better).
Can someone divert me to a tutorial or lectures of how this is supposed to be done?
Connection between Android and a server would most easily be done with http requests.
There are several libraries available who make this easy like Retrofit.
For server-side applications you can take a look at Jersey in combination with a tomcat server.
There are of course many applications who can do these... so it comes down to a matter of preference.
There are many web development frameworks that works on many platforms such as spring, vertx, play and many others to name. You can you create rest like api for this purpose. Give all the low level works to the framework. You should not worry about low level details as most off them are handled by frameworks today.

Alternatives to Java applets [closed]

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

Seeking Code Generator for Spring Web Application [closed]

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.

Looking for cross-platform mobile database options [closed]

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.

Chosing a right framework [closed]

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 planning to develop a web application using GWT, but before that I need to make few clarifications. The web app what I am developing should be compatible with Mobile phone browsers considerable smart phone browsers.
I googled a lot to know this but I did not find supporting or sufficient documentations.
If GWT doesnt support what would be the other framework, which is open source java based framework?
There is no big problem with mobile websites build using GWT, it generates standard javascript + html. There is some libraries that can help you build mobile site, like http://code.google.com/p/gwt-mobile-webkit/. And you can write any widget you wish.
But keep in mind that GWT will generate very heavy target files, sometimes few megabytes long. So if you target audience uses GPRS for accessing your site, it could be problematic for them.
There is also other web-framework, that are GWT based: http://vaadin.com/home.
It have great collection of UI components, and currently authors are extending it to be more mobile friendly.
You could also try a different route with Context Framework. I think it suites better to mobile web developing because it is more lightweight solution. I have made a journey planner (in Finnish) with it and it was tailored especially to touch screen phones. You can find it here.

Categories