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 would like to start using Google App Engine for java. But i don't know, where to start.
Is the tutorial provided by google [ http://code.google.com/appengine/docs/java/overview.html ] enough ?
Also, please mention some good books on GAE [ java ] so that i can download those from rapidshare or torrent buy those books and start reading them.
Have a look at "Programming Google App Engine" by Dan Sanderson (O'Reilly). That is for Python or Java.
Google GAE-Java doc/tutorial is good enough.
There's a book by Apress "Beginning Java Google App Engine" that discussed specifically Java, GWT, JDO. I skimmed over it once while I was in my local bookstore and to be honest, you'll get the same amount of exposure to that of Google's doc/tutorial with extra commentary.
I prefer the straightforward (Google's) approach than the Apress.
Few things to mention:
Google's tutorial/doc directed you to what some people might considered the "preferred" approach (using JDO instead of JPA) and explanations to why.
AFAIK, Apress book doesn't teach you how to unit-test GAE-Java app (especially code that relies on GAE services)
Sometime the Apress book would tell you to go to Google's tutorial (e.g.: how to implement paging)
Apress book is good only if you want to know how to integrate GAE project with other libraries like GWT, Spring, and Flex (not even Wicket). But these are just configuration issues that you can Google it.
Hope this help.
Ed
I'm currently reading Beginning Java Google App Engine from Apress. I think it's a good start for beginning with java on the app engine. The book also implement a project with GWT. The book give you more organized information then the getting started. Here what you'll learn:
How to get up and running with App Engine, starting with the Google Plugin for Eclipse
All about the development server for testing and developing your applications
How to develop applications using Servlets & JSPs, Spring Framework, and open source Flash - - Remoting and Messaging servers
How to leverage the datastore in your applications, including Persistence as a Service
How to use Spring as a Service for transactions, data access, and more
How to use Google Web Toolkit to create AJAX components to drive your web applications
How to send email and instant messages (XMPP) from within your application
How to increase performance of your apps by storing data in memory using the Memcache service
I found Dan Sanderson's book on GAE very immersive and thoughtful. His treatment of the topic is in-depth and goes beyond hello world programs. I recommend this book for all those who want to learn GAE in Java in depth.
OTOH I found Beginning Java Google App Engine from Apress disappointing. I could not find anything in this book which I could not gather from Google I/O and Google articles.
Try to find the best price you can, or get it used. Things are changing rapidly with GAE.
The tutorial was sufficient to get me started. I learned App Engine via the tutorials back before there were any books out.
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 9 years ago.
I have seen many book in PHP with or without framework for learning step by step project development like my most favorite book :
http://www.packtpub.com/zend-framework-18-web-application-development/book
Which guides intermediate programmer. this book shows each and every step for developing shopping cart including:
1. MVC implementations using Zend framework
2. ACL implementations
3. Modular development - separating admin and front-end
4. Testing using PHPUnit
5. Optimization like caching , SQL caching and optimizing in the last chapters
So we do not have any book or sample project from where I can see how can I develop aprofessional MVC shopping cart using Servlets/ jsp/ JSTL /EL? because I am good with this and right now I do not want to go for any large framework, I want start with these basic technologies, any one please help!!!!
OK, here is a couple of books:
Murach's Java Servlets and JSP, 2nd
Edition - a popular Servlets/JSP book with lots of examples and best practice descriptions. In the end it has a show-case: Music store e-commerce web site. Source code for the book's applications (including musicStore web app) can be downloaded for free.
NOTE: This is a Servlets/JSP/JSTL/EL book. Probably the closest to what you want, if I get you right.
Beginning Java EE 6 with GlassFish 3 (Expert's Voice in Java
Technology) - very serious Java EE 6 book (goes beyond just Servlet/JSP). On the author's site there is a download link to the source code for the Java EE 6 web application Pet
Store
(analogous to the legendary Sun Microsystem's Java Pet Store reference application,
developed by the Sun's Java BluePrints Program team to showcase usage of previous Java EE versions).
Also check out the following free resources:
The NetBeans E-commerce Tutorial - this is a multi-part tutorial, you learn how to create a simple yet effective e-commerce application that demonstrates various important
features of Java web and EE development (goes beyond just Servlet/JSP). The completed project is also available for download (the link is taken from the Chapter 13. Conclusion).
Official Java EE
documentation
also has several case studies (including e-commerce application Duke’s Bookstore) to illustrate different Java EE concepts (also goes beyond just Servlet/JSP).
Again, just some of the examples.
Hope this helps.
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 11 years ago.
I will have native iPhone and Android apps, and later a mobile web site (for other mobile platforms) all talking to a back-end that manages users, settings, video, social graphs, etc. I will also have a dynamic web site with a lot of video, pictures, and social graph administration. The web site will basically be a more featureful version of the apps on the phones. The back-end consists of video storage, transcoding, a video recommendation engine, options to share the video with your network.
My thought is that I should build a common applications services layer that exposes a RESTful api that returns JSON, and have both the apps and the web site talk to this api.
My question is should I keep the web site and the services layer both in one technology or use Java for the services layer, and Rails or Python for the web site to take advantage of their purported faster dev time. The site will have a lot of JavaScript and AJAX to support dynamic behavior. If I use Rails or Python, should they also talk REST/JSON to the services layer? In terms of deployment and scaling management, it would seem like sticking with one technology like Java for all back-end pieces might be better; but on the other hand Rails and Python promise faster development and maintenance times for the web layer. If I use Rails for the web tier, would it make sense to deploy it in JRuby within the same JVM as the services layer to have fewer moving parts to manage on the web/app server?
The site may grow to millions of users and videos. The development team are experienced at Java, with some Python, but are smart and can quickly learn other technologies.
Feel free to suggest the technology stack of your choice.
Here are some advice based on my experience:
create a separate API layer for your JSON api. Use Spring MVC or JAX-RS there
for the web front-end you can use grails - it combines the strengths of dynamic languages like ruby and python with the power of the JVM and the java stack.
you can choose to use only your API from your site, or expose only some of the features through the API and use the rest internally.
for internal communication try not to add overhead - you can start with simple service classes (spring beans, for example). Exposing them as web services is harmful, imo. Yes, it appears that your modules are decoupled, but it hampers flexibility. Since services are stateless they can be invoked from any place, so you can easily make them live and be invoked in the same JVM as the grails 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 12 years ago.
So here's the story: I currently work as a C# developer doing ASP.NET. While I like C# I don't like the overall quality of the .NET community; most of my past experiences have been that many .NET developers are totally ignorant of actual software engineering (e.g. design patterns, code separation, etc.). The Java area seems a lot better in this regard even if you do have to put up with the occasional "architecture astronaut".
My actual question is this: I can pick up the Java syntax easy enough since I already know C#. However, I've only worked with the full Microsoft stack for web development (WebForms, although I've looked a bit at MVC and I've done some Ruby on Rails demo stuff so I know MVC fairly well). If I want to learn enough marketable skills to be able to apply for junior-level Java development positions at companies, what stack should I look at? There are dozens of Java web frameworks out there; what would be the most common one used in companies? It seems that Hibernate is the default standard for persistence (I've done a little bit with NHibernate) so I'm okay with that. I've also seen several new Java web frameworks that seem interesting, but learning them won't give me a leg up in applying for a job at a company because I'm bettering they're untested in the corporate world and aimed at startups and similar like most new frameworks.
Which framework would be the most likely to be used at a typical company that I should start to learn in order to begin a transition to a better quality community?
I'd actually recommend that you start by learning straight JDBC for database access and servlets+JSP for the web front end, and using those to implement a (very) simple web app. JDBC is the API on which basically all other Java database libraries are built, and likewise for servlets. These will require the least configuration necessary to get your app running. Once you've done that, you'll have a better foundational understanding and can take a look at:
Hibernate with JPA for persistence
Spring for dependency injection
One of the many web frameworks - Spring MVC, Struts 2, JSF or Seam are all viable
Java EE components such as EJBs.
If you're looking to do this on a full-blown Java EE container, I'd recommend using Glassfish as your server. But Tomcat is simpler (just a servlet container), and might be better for starting out with the first project.
Get familiar with Apache and JSP stuffs would also be helpful in addition to the answer above.
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 for an e-commerce "platform" in Java or .NET that can satisfy the following requirements:
Product / Service Management
Customer Account Management
Shopping Cart
Checkout / Merchant Integration
Localization (especially for currency)
Coupons
Multiple Storefronts
Reporting
Possible PayPal / Google Checkout Integration
The goal here is to integrate this with a RIA written in Adobe Flex. We are comfortable with writing a thin backend layer to support the Flex app, so the solution doesn't require a remotely-accessible API, rather just one that we can invoke from our own backend code.
I used ofbiz for some projects, a joyful experience. It's now under the apache umbrella: http://ofbiz.apache.org/
From the website:
The Apache Open For Business Project
is an open source enterprise
automation software project licensed
under the Apache License Version 2.0.
By open source enterprise automation
we mean: Open Source ERP, Open Source
CRM, Open Source E-Business /
E-Commerce, Open Source SCM, Open
Source MRP, Open Source CMMS/EAM, and
so on
I used it to build an ecommerce application to sell customized products to consumers. I used the webshop part, the production planning and warehouse management.
Beware that it takes some time to dig into this huge framework but depending on your actual needs it will be worth it. There is also decent commercial support by a lot of service providers.
Look at nopCommerce - http://www.nopCommerce.com
Broadleaf Commerce... It's free, open source, and enterprise-class. Version 2.0 is simple to set up and configure out of the box. It also allows you to customize, extend, and integrate in absolutely any way that you need. We were able to get a complex, highly customized site with a large number of custom features, including flash sales and perishable inventory, deployed to production in 6 weeks. http://www.broadleafcommerce.com
SoftSlate Commerce meets nearly all of those requirements (with the exception of multiple storefronts, but you could run separate instances side by side). Full Java source code comes with the $495 Standard Edition license.
we do java development and are using shopizer it is a sales management software and also supports online invoicing
The Beerhouse (OS) for .NET might be worth a look. It's an ASP.NET starter kit, however there is also a paypal commerce kit that accompanies it. I'm not sure about coupons and flex integration however.
All the kits can be found here.
Websphere Commerce Supports almost all of your requirements(except paypal integration).
I tested and trust those (.Net):
aspdotnetstorefront
nopcommerce
Asp.net E-Commerce post and about java my favorite is http://www.konakart.com/
Freeblisket/Weblisket
Both platforms good for what you are looking.
Decision is based on personal preferences and which platform you have experience.
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 11 years ago.
To learn from good examples, what are the best open source Google App Engine applications out there?
I don't care if it is Java or Python based.
Please one app per answer. Feel free to add a link to the live app (if there is) and to the project page.
Rietveld of course
I dearly love my App Engine Console. It is a mini-app, a "plug-in" for other applications. It gives you an AJAX Python interpreter that runs on the server—great for development and debugging. Sometimes I use cURL pointed at App Engine Console to run (authenticated) one-off remote Python procedure calls.
(I wrote it, yes, but I use it daily for maintenance of busy sites. It's the first tool I install on new projects and I don't know how I could live without it.)
UserInfuser, a gamification platform: http://code.google.com/p/userinfuser and https://github.com/nlake44/UserInfuser
It can help you add gamification elements to your website (badges and leaderboards). It uses the Channel API for badge notifications.
Khan Academy. One of App Engine's bigger customers.
https://khanacademy.kilnhg.com/Repo/Website/Group/stable/Files
JaikuEngine is probably Google's biggest open source App Engine project.
I really like FoFou which is a simple forum software that I have used.
FoFou is open source and hosted on github.
Partychapp is a Java GAE app using the XMPP services to allow users to create and join chatrooms together.
I really like Bloog, a simple blogging application. Source is on github.
OpenShare (http://openshare.emotionull.com)
http://bitbucket.org/jonromero/openshare/src/
Eezee MVC is An Easy Model, View, Controller Framework for Google App Engine.
Features
Has a Controller Class that does routing, handling and rendering templates.
Your controllers reside in the controllers folder, views (html Django templates) in views folder, models in models folder.
Allows Controller to recieve GET/POST parameters as function arguments.
StackPrinter is a webapp that allows printing of StackOverflow's questions in a Printer-Friendly way.
Source code is on github.
Pubsubhubbub: A simple, open, server-to-server web-hook-based pubsub (publish/subscribe) protocol as an extension to Atom and RSS.
http://code.google.com/p/pubsubhubbub/