We are considering using Apache Thrift in a new application we are starting. We do however have some reservations around how well Thrift works in a JavaME environment (since the Thrift documentation is very bad). We have sample applications working in most environments, e.g. server, iPhone and Android, but not BlackBerry (JDE 5.0.0). Has anyone had success in getting it running in a BlackBerry Java application?
Related
I have built applications with Java RMI, but ran as a service on a windows machine. The goal now is to migrate to Google App Engine, but I have no idea how I will implement this, can someone help me?
Or is it only possible to deploy the application developed with Java SE and start the server RMI??
Thank you!
Google App engine doesn't support neither RMI protocol nor its libraries. GAE is PaaS, meaning you'll never get to modify the server environment. You'll have to adjust your solution to their platform.
Hello Folks I am new to webservice I googled a lot I couldn't come to conclusion so I am seeking help here.
I am developing simple Android app for education purpose I know Java programming.
Please any one give me the steps to adopt in development to consume API signature from the webservice backend. If possible Local setup steps. I am using FrontEnd: Android widgets with http. I need backend setup information JAVA restful + MySql + Application server ?
Advance thanks
I personally run a server from home on a Raspberry Pi for my pet projects. It uses a LAMP setup, which stands for Linux+Apache+MySQL+PHP. Linux is the OS it runs on, Apache is the main webserver, and PHP is for dynamic webpage creation. I would recommend using something similar; packages like WAMP (replacing Linux with Windows) bundle all four of these services together for easy installation and setup. I believe there are also a number of free MySQL server hosts which you could use, if you don't want to deal with port-fowarding/handling traffic.
we are working on our graduation project project that has two main block
1- A website that is written in ASP.NET
2- A webservice that access the database (mySQL DB) , do some processing on data and communicate with that website to show the results.
We are using a java library [Apache Mahout] in that webservice to help us do that processing and that's why we need to write this webservice in JAVA
How can we create and host a Restful java webservice on Windows Azure ? What are the available options ?
Also , Is it possible to start the processing and stop it depending on a request that is sent from the website or another block (another webservice for example) ?
I hope the situation is now clear.I would appreciate if you could provide us with any resources that could help us understand how Restful java Webservice in Azure works :)
Today you have two options for running Java on Windows Azure: Cloud Services and Virtual Machines. Cloud Services (Platform as a Service) enable you to package up a web deployment (WAR) along with a JDK and your java server of choice (Jetty, tomcat, Jboss, etc) and deploy it. Your other option is to use a virtual machine (Infrastructure as a Service). You have a few different options for virtual machines (including officially supported Oracle images: http://www.windowsazure.com/en-us/campaigns/oracle/).
Your easiest option will be looking at Cloud Services (though this does require packaging no a Windows computer). There is a great Windows Azure plugin for Eclipse that will help you out tremendously (http://msdn.microsoft.com/en-us/library/windowsazure/hh694271.aspx). There are also a lot of tutorials, resources, and links to references here: http://www.windowsazure.com/en-us/develop/java/.
Azure websites now supports Java web applications - check it out - http://azure.microsoft.com/en-us/documentation/articles/web-sites-java-get-started/ - you use the default JDK 7 with Tomcat 7.0.50 or Jetty 9.1.0 OR you can even upload your own web container and configure it as per your requirements. Please refer to the link above.
I have created a Java web service using Axis2 Framework/Eclipse and deployed it on Azure Websites.
Can Flex be used for a desktop application whose business logic is written using Java? Everything I've read about flex uses a remoting or http protocol to communicate with the backend via a J2EE server, so I'm not sure how that would work for a desktop app (unless an embedded j2ee server was running in the app).
Thanks,
Jeff
It isn't unusual for a j2ee server to be running in the background even if no internet connectivity is ever required.
That being said, Adobe AIR has full access to executing remote programs. This would allow an Adobe AIR application to call a Java application outside of any server instance.
I think the easiest approach would still be to embed some kind of application server.
I worked on a project which use a Flash client with a Java server in 2003. Later I worked with a Flash client with a Java server in 2006. Both applications worked nicely, though I didn't code any flash/flex. On both occasions we streamed XML between the client and the server with the option to use HTTP pooling.
You can do this with Flex and Adobe AIR through the Merapi Project.
You can also consider that Flex runs the same both in AIR and in the browser, that said if you've a Blaze DS on the Java end of things - or granite ds for that matter - it's pretty straight forward.
You can also consider that air has access to sqllite.
I'm creating a web app that runs on Google App Engine. I'm also developing a desktop client that needs to access/update data on the webapp.
I would like to create a web sevice api between the server and the client. What would be my best options?
According to GAE the do not support RMI og JAX out of the box.
I hate to answer my own question but Restlet is working on a GAE version. The current development version seems to work well.
http://wiki.restlet.org/docs_1.2/13-restlet/252-restlet.html