As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm looking to write a Java (Groovy actually) web application that will need to talk to both AWS and Eucalyptus clouds for both compute and storage. So we're looking for a Java library that can talk to both.
I know that Eucalyptus is supposed to be AWS API compatible so anything that talks to AWS should be able to talk to Eucalyptus but that has not been my experience. I've found some of the ec2 command line apps that should work with Eucalyptus but simply crash.
Here's what I'm considering so far:
typica
jclouds
Dasein
AWS SDK for Java
Cloud Foundry
Do anyone have experience using any of these to talk to AWS and Eucalyptus? Are there any other similar APIs out there worth looking at?
Thanks
Since your doing Java/Groovy (Grails?) I would suggest adding CloudFoundry to your short list.
You might want to take a look at libcloud's Java version (original version is in Python): https://svn.apache.org/viewvc/incubator/libcloud/sandbox/java/trunk/. Its development seems to go quite fast and the whole thing looks quite promising.
I would suggest that you write up an API for your cloud engines for your needs, and then use a separate implementation for each backend you want. The reason for this - makes it mockable (hence testable).
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have an idea for a smartphone application.the idea involves communicating with a web server in a specific protocol that I wish to design. what is the best architecture for the web server that fits this scenario, If I want to use DB pesistance, client server communication, and it should be in a language I'm farmiliar with, such as Java or c++?
I'm sorry if it's a noob question, I never dealt with this kind of development (I'm a RT embedded engineer)
thanks a lot.
I would pick a technology that is easy to deploy and manage. I'm not a C++ guy, but I think Java fits the bill. There are a number of easy ways to deploy java these days:
Google App Engine: http://code.google.com/appengine/
Heroku: http://devcenter.heroku.com/articles/java
Amazon ec2 beanstalk: http://aws.amazon.com/elasticbeanstalk/
Each of these will provision the servers and databases for you. Google, and I think Heroku, have free plans for getting started.
-Dave
I think your question is too broad.
I would go for what I'm most confident with, Unix server with Java and MySQL, but since you intend to create the protocol, anything would do, like Windows with SQL Server and IIS and .Net 4...
The fundamental idea is, since you intend to create the protocol, what you interface with is irrelevant. If you were going to use SOAP on a WinPhone, it would make sense to go for a .Net platform, whatever people might say about compatibility and SOAP. Similarly, Android would be better interfaced with Axis and Java, imho. The iPhone anyway requires third party tools or hand-coding of XML, so anything goes.
As it is, your initial idea is right: go for what you master best, because the field has enough learning requirements as it is that you don't need more hurdles :D
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm trying to create an email application which is depending upon the same function of our android mobile's default email application. How can I get that default email functions source code?
I think what you are looking for is K-9 mail. It looks like you're in luck. it's open source on github: https://github.com/k9mail/k-9
For sake of completeness, the source of the default Email application is available at
http://android.git.kernel.org/?p=platform/packages/apps/Email.git;a=summary.
EDIT: Palaniraja suggests the following alternate link, however it does not support the source browsing capability of the discontinued original repository.
https://android.googlesource.com/platform/packages/apps/Email/
However, it will (or at least used to) require a fair amount of adaptation before it can be built with the SDK, as it was originally designed to be built with the platform build system before decisions about APIs available under the SDK were finalized. Unless that has changed, you may be better off working with some other codebase that someone has already adapted for SDK use.
maybe this will help you: http://java.sun.com/developer/onlineTraining/JavaMail/contents.html
i've used that for my own gmail client app.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm about to build an Android application that will use a RESTful Web Service. I don't want to write the REST client by myself, as I want it to be as effective and stable as possible (this is the first time I'm using REST).
Are there any (free) frameworks or utilities avaibale for Android/Java that I can use in my project?
Restlet is an excellent REST framework and has an Android edition.
Any HTTP Client library should be perfectly adequate to interact RESTfully with a web API. E.g. http://developer.android.com/reference/org/apache/http/client/HttpClient.html
try out Spring Android - is has very handy class RestTemplate.
I'm also looking for a SMALL solution for rest client on Android. After a quick comparison, I found:
Resting v0.7: resting-0.7-dev-release-android.jar - 1.3MB (all-in-one according to
the doc)
Restlet v2.1.2: org.restlet.jar - 728KB (however must > 1MB after adding httpclient extention and json extention)
Spring for Android v1.0.1: spring-android-core-1.0.1.RELEASE.jar 113KB + spring-android-rest-template-1.0.1.RELEASE.jar 186KB + gson-2.2.3.jar 194KB = 493KB (without auth support, otherwise spring social will be a dependency)
Please correct me if any miss.
check out Resting - "Lightweight Java component to consume REST service and transform response into objects"
http://code.google.com/p/resting/
i haven't used it myself, but i plan to.
to go along with it, i'm searching for example source code to implement the best practices described in this google IO session. http://www.youtube.com/watch?v=xHXn3Kg2IQE
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have a client currently thinking about using SeeBeyond / Sun's JCAPS product, does anyone on SO have any positive or negative experiences using / developing for it ?
SeeBeyond/JCAPS might not have a future now that Oracle has bought Sun.
JCAPS 6 is quite convenient for Integration problematic (hospital in my case); however the design pattern used here (Message routing) might be a bit complicated to set up from scratch.
JCAPS 6 is also far better, easier, faster ... than it's ancestor eGate:)
I done JCAPS for a while now, If you try using JDeveloper it may be harder since you need to set up a lot of other stuff rather than just code for your needs. For example like ant build and also apache web service.
If you focus on developing a fast integration, JCAPS would be better. But then again, you still need to do some performance tuning before it is really good. Not so sure about TIBCO since they are well known also.
maybe rather look into using JDeveloper. Its user interface is very similar to jcaps, and very easy to use.
As far as developing SOA solutions go, Java CAPS is very useful.
However, Oracle's plan for this product is not that clear. They said they would not have any new feature releases; instead, they will have only maintenance releases. They are focusing on Weblogic SOA product suit.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm interested in technologies(solutions) that permits Java and .NET interoperate. I have tried the following and it works but I would like to know if there are other solutions:
Sockets
Web Services (Metro)
CORBA (IIOP.NET)
Messaging (QPid)
IKVM
Does anyone know other technologies(solutions) that enable Java and .NET interoperate or best practices for Java and .NET interoperability?
We use Apache ActiveMQ
I've used j-Integra's stuff before on a few projects that served me well
I have been working with JNBridge tools for in-process one-way JAVA Swing UI calling .NET 4.0 back end.
The whole thing performs well but does require discipline in its management. A license fee is required, so is really only a good choice when the 2 languages have to be used together.
Check out JNBridge.
I haven't used it, but I have heard this works: http://jnbridge.com/