My website is deployed on google app engine. Now, I'd like to create a new page/section in my web site to add a blog.
I'm wondering if you know a simple blog written in java that could be deployed on Google app engine? I'm not afraid to edit this code...
Many Thanks!
P.S : my subject is not a duplicate. The other solutions are for python and their assume that your deploy ONLY the blog on your google server.
B3log Solo is a very active open source blog system based on GAE/Java, while currently multi-languages are not so well except Chinese-Simple. If you are interested in it, please loop here. I am very welcomed to help with how to config to run it in GAE.
Related
I am trying to add a voice / video chat feature to my web-based chat application developed in JavaEE.
I have not found any tutorials on how to achieve that with both Server and Client written in Java (no javascript allowed).
Is there any tutorials that can help me (using websockets for example) ?
You might check out the github project Jitsi. I don't know exactly what tech they are using, but there is a Java version and the code is available for inspection. They may have a forum. I have only taken a cursory look but was reminded of the project by your question.
I am a newbie in Google App Engine. I am trying to create a service (previously called "modules") in Eclipse in Java. I didn't find any resources which shows a step-by-step guide to create a service for app-engine in eclipse or any other IDE. What are the configuration files I need to take care of?
I have tried to find docs on cloud platform and everything says about having front-end. There are articles about micro-service architecture and migrate an existing app. But I don't have an existing app. Every tutorial talks about cloning an hello world app and deploying it which shows hello world with appspot url. But didn't found anything for the service(module).
The service I am trying to create does not have a front-end. It just runs in the background and watch the database and sends emails and notifications to the users based on database change. This is not an API and there isn't any request-response architecture.
How can I achieve this?
Any reference material or samples which can guide me to the right direction?
To set up an App Engine project you could have a look at Romin Irani tutorials which are very good (https://rominirani.com/google-cloud-endpoints-tutorial-part-1-b571ad6c7cd2#.qclm8gyd9).
There is also a free MOOC on Udacity which covers Endpoints with Eclipse: https://www.udacity.com/course/developing-scalable-apps-in-java--ud859
Both cover the building of Endpoints and querying them from front-ends, which I understand is not your goal. But the Udacity course covers Cron jobs and sending of emails (both in Lesson 5), which is what you would use for your needs. See also https://cloud.google.com/appengine/docs/java/config/cron#creating_a_cron_job which is very good Google documentation.
So in a nutshell: I would start by Romin's tutorial to understand Eclipse set-up and main concepts, then follow Udacity MOOC (especially part on Cron and mail) and then dive into the Google doc for the fine tuning of your development.
Last but not least, for sending emails, nowadays, Google advice to use Sengrid. But I think it worth following the Udacity lesson on sending email, even if you switch from native email sending to Sendgrid later on. Again, the doc is complete and clear.
Hope this helps!
I'm using lenskit recommender toolkit in Netbeans 7.4 to build a movie recommendation engine and now I'm finalizing it. So my question is how will I be able to integrate it into Web to build a Movie Recommendation Website?
I've already visit the GitHub getting started site for lenskit here and I've found the keyword web integration, click that but nothing helped me.
Sorry for the vague question but can you help me or give some advice on how to start? Thank you!
There are two main things you need to do:
Create a RecommenderEngine containing your model, configuration, etc. This will be a global object shared between all web requests. You can also build it in a separate program, serialize it to disk, and read it back in.
In each web request, use the createRecommender() method to get a Recommender for that request to use.
You'll need to handle data access; there is some documentation on that here: https://github.com/grouplens/lenskit/wiki/DataAccess
LensKit 2.0 was a bit weak on web integration; LensKit 2.1 makes it significantly easier. Look for a 2.1 milestone release very soon.
I'm working on an App that runs a webservice hosted an Android device. I'm using a basic webserver right now and have been asked to be able to support technologies such as FastCGI. I found Lighttpd which seems like it might satisfy, but I don't know where to begin with integrating it to Android. Does anyone have any suggestions of where to look to find an example of such a use. I'm open to any webserver as long as it supports FastCGI.
Here is blog post about successful build: http://hex.ro/wp/blog/php-and-lighttpd-for-android/
It might help you to begin.
I've just started using Google App Engine and I have a few questions about it. I hope you can help me:
Once my Java web application is running on Google App Engine. What if one day I decide to run it on my own server. Which programs/services would I need? Is it difficult to configure?
I have a Javascript code that I would like to store on Google Application Engine, so that external webpages can run it directly. Is it possible? Otherwise could I deploy a Java application on Google App which returns this Javascript code? How could an external site ask on "execution time" for this code and run it?
THANKS!!
AppScale supports Java and allows users to deploy and host their own Google App Engine applications
Of course you can, although GAE is not meant to be used as a CDN.
Have a look to Static Files and Resource Files documentation.
It depends on what services you actually use. Take a look at AppScale, it will facilitate running your application on your own servers. I would also suggest looking at TyphoonAE (Python only), to see another software 'stack' providing similar services.
See the section on static files and resources in the docs.