[appengine-java] Re: getUploads() on blobstoreService not found
UPDATE: Found a solution here: http://stackoverflow.com/questions/9079431/appengine-blobstore-cant-upload-blobs-since-update-to-1-6-1-from-1-5-5-getuplo The files on my build path were fine but I needed to clear out the WEB-INF/lib folder of all of the old ones. Happy coding! Drew On Monday, 12 March 2012 13:11:52 UTC, Drew Spencer wrote: > > Having the same issue here. When I try to call the deprecated > getUploadedBlobs() I get this error: > > WARNING: > /_ah/upload/agx1c2F2aW50cmFuZXRyHAsSFV9fQmxvYlVwbG9hZFNlc3Npb25fXxiNAgw > java.lang.ClassCastException: java.util.ArrayList cannot be cast to > java.lang.String > at > com.google.appengine.api.blobstore.BlobstoreServiceImpl.getUploadedBlobs(BlobstoreServiceImpl.java:132) > at > com.utilitiessavings.testapp1.server.UploadServiceImpl.doPost(UploadServiceImpl.java:39) > > and if I switch to getUploads() as recommended I get this error instead: > > WARNING: Error for > /_ah/upload/agx1c2F2aW50cmFuZXRyHAsSFV9fQmxvYlVwbG9hZFNlc3Npb25fXxiOAgw > java.lang.NoSuchMethodError: > com.google.appengine.api.blobstore.BlobstoreService.getUploads(Ljavax/servlet/http/HttpServletRequest;)Ljava/util/Map; > at > com.utilitiessavings.testapp1.server.UploadServiceImpl.doPost(UploadServiceImpl.java:38) > > Can anyone shed any light on this? > > Cheers, > > Drew > > > On Tuesday, 31 January 2012 13:13:44 UTC, roelanto wrote: >> >> Hi all, >> >> I'm trying to implement simple uploading. >> >> The beginning of upload callback code looks as follows: >> >> public void doPost(javax.servlet.http.HttpServletRequest request, >> javax.servlet.http.HttpServletResponse response) throws >> ServletException, IOException >> { >> System.err.println("doPost on uploadImageFile"); >> >> BlobstoreService blobstoreService = >> BlobstoreServiceFactory.getBlobstoreService(); >> blobstoreService.getUploads(request); >> >> Java then throws an exception on the getUploads(request)-line (which >> is lineno. 73): >> >> HTTP ERROR 500 >> >> Problem accessing /_ah/upload/ >> agZidHNvZXByHAsSFV9fQmxvYlVwbG9hZFNlc3Npb25fXxioBAw. Reason: >> >> >> com.google.appengine.api.blobstore.BlobstoreService.getUploads(Ljavax/ >> servlet/http/HttpServletRequest;)Ljava/util/Map; >> >> Caused by: >> >> java.lang.NoSuchMethodError: >> com.google.appengine.api.blobstore.BlobstoreService.getUploads(Ljavax/ >> servlet/http/HttpServletRequest;)Ljava/util/Map; >> at [my prefix].UploadImageFile.doPost(UploadImageFile.java:73) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) >> at >> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: >> 511) >> at org.mortbay.jetty.servlet.ServletHandler >> $CachedChain.doFilter(ServletHandler.java:1166) >> at >> com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java: >> >> >> 97) >> at org.mortbay.jetty.servlet.ServletHandler >> $CachedChain.doFilter(ServletHandler.java:1157) >> at >> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: >> 388) >> at >> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: >> 216) >> at >> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: >> 182) >> at >> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: >> 765) >> at >> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: >> 418) >> at >> com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java: >> >> >> 78) >> at >> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327) >> at >> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126) >> at >> com.google.appengine.api.blobstore.dev.UploadBlobServlet.handleUpload(UploadBlobServlet.java: >> >> >> 384) >> at >> com.google.appengine.api.blobstore.dev.UploadBlobServlet.access >> $000(UploadBlobServlet.java:68) >> at com.google.appengine.api.blobstore.dev.UploadBlobServlet >> $1.run(UploadBlobServlet.java:111) >> at java.security.AccessController.doPrivileged(Native Method) >> at
[appengine-java] Re: getUploads() on blobstoreService not found
Having the same issue here. When I try to call the deprecated getUploadedBlobs() I get this error: WARNING: /_ah/upload/agx1c2F2aW50cmFuZXRyHAsSFV9fQmxvYlVwbG9hZFNlc3Npb25fXxiNAgw java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String at com.google.appengine.api.blobstore.BlobstoreServiceImpl.getUploadedBlobs(BlobstoreServiceImpl.java:132) at com.utilitiessavings.testapp1.server.UploadServiceImpl.doPost(UploadServiceImpl.java:39) and if I switch to getUploads() as recommended I get this error instead: WARNING: Error for /_ah/upload/agx1c2F2aW50cmFuZXRyHAsSFV9fQmxvYlVwbG9hZFNlc3Npb25fXxiOAgw java.lang.NoSuchMethodError: com.google.appengine.api.blobstore.BlobstoreService.getUploads(Ljavax/servlet/http/HttpServletRequest;)Ljava/util/Map; at com.utilitiessavings.testapp1.server.UploadServiceImpl.doPost(UploadServiceImpl.java:38) Can anyone shed any light on this? Cheers, Drew On Tuesday, 31 January 2012 13:13:44 UTC, roelanto wrote: > > Hi all, > > I'm trying to implement simple uploading. > > The beginning of upload callback code looks as follows: > > public void doPost(javax.servlet.http.HttpServletRequest request, > javax.servlet.http.HttpServletResponse response) throws > ServletException, IOException > { > System.err.println("doPost on uploadImageFile"); > > BlobstoreService blobstoreService = > BlobstoreServiceFactory.getBlobstoreService(); > blobstoreService.getUploads(request); > > Java then throws an exception on the getUploads(request)-line (which > is lineno. 73): > > HTTP ERROR 500 > > Problem accessing /_ah/upload/ > agZidHNvZXByHAsSFV9fQmxvYlVwbG9hZFNlc3Npb25fXxioBAw. Reason: > > > com.google.appengine.api.blobstore.BlobstoreService.getUploads(Ljavax/ > servlet/http/HttpServletRequest;)Ljava/util/Map; > > Caused by: > > java.lang.NoSuchMethodError: > com.google.appengine.api.blobstore.BlobstoreService.getUploads(Ljavax/ > servlet/http/HttpServletRequest;)Ljava/util/Map; > at [my prefix].UploadImageFile.doPost(UploadImageFile.java:73) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > 511) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1166) > at > com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java: > > > 97) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1157) > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: > 388) > at > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: > 216) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: > 182) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: > 765) > at > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > 418) > at > com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java: > > > 78) > at > org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327) > at > org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126) > at > com.google.appengine.api.blobstore.dev.UploadBlobServlet.handleUpload(UploadBlobServlet.java: > > > 384) > at com.google.appengine.api.blobstore.dev.UploadBlobServlet.access > $000(UploadBlobServlet.java:68) > at com.google.appengine.api.blobstore.dev.UploadBlobServlet > $1.run(UploadBlobServlet.java:111) > at java.security.AccessController.doPrivileged(Native Method) > at > com.google.appengine.api.blobstore.dev.UploadBlobServlet.doPost(UploadBlobServlet.java: > > > 108) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > 511) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1166) > at > com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java: > > > 35) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1157) > at > com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java: > > > 60) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1157) > at > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java: > > > 43) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain
[appengine-java] How to make someone an admin for your app.
Hi coders, I've just managed to deploy my first app to my Google Apps domain (utilitiessavings.co.uk), and it seems to be working ok, BUT I now realise that being an admin for the google apps domain does not make me an admin for the application itself, and I can't work out how to add myself as an admin for the app. I am using my regular gmail account to deploy the app, and I went to "Administration > Permissions" in the control panel and added my google apps email as a developer, then clicked the link in the email and boom! Admin away! Yeah, I don't need help, but this is one of those situations where I solved it as I was writing the post, so I thought it might help someone in the future if I just posted it anyway. Happy coding! Drew -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/bieSsZiU4Q8J. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Disable 'refresh' in a page
I agree with Mat. Just tell your users not to refresh or give them no reason to. They aren't stupid. It's like when a site prevents me right-clicking - I hate that site and never go back. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/uuaynCZW5rUJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Can I/Should I test my *ServiceImpl class? (RPC calls - GAE+GWT+MVP)
Ugh... I've been a total muppet for the last week and a half. Even more so than normal. I'm sure I tried to create a new PortalServiceImpl in my regular TestCase last week and got some kind of error... clearly not. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/vnDhQUYYmTsJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Can I/Should I test my *ServiceImpl class? (RPC calls - GAE+GWT+MVP)
Hi coders, I posted this in the GWT group but got no response. It kinda belongs in both because it regards RPC calls and the datastore, but since I got no answers there I thought I would post it here too: I'm still learning GAE+GWT and trying to get into unit testing as I go along. I have finally managed to get my head around MVP and have written some basic tests to test my presenters, using mock objects for the view and server-side service. All good. My question is this: *How can I test whether my RPC calls are working? Should I even be trying to test them?* For example, in my ServiceImpl class I have a function fillDatastore() that populates it with some dummy data - I would like to be able to run this on the datastore stub, using LocalServiceTestHelper, a bit like this test, but using my server side code instead of putting the actual insert code into the test itself: http://code.google.com/appengine/docs/java/tools/localunittesting.html#Writing_Datastore_and_Memcache_Tests As far as I understand it - I can't use GWT.create() to make a real rpc service in a TestCase (have to mock it), and I can't create a datastore stub inside a GwtTestCase. If anyone can point me in the right direction, tell me where I'm confused I would appreciate it greatly. Cheers, Drew -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/qz2E6uRE1D0J. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Best way to work with a CellTable and many-to-one relationship with objectify?
Ahhh I see... for some reason I thought there might be a situation where an attacker could see objects from the outside but not see the properties if they were private - must have been an assumption I made years ago and it stuck with me! You're a legend, Jeff. Drew -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/N-KEBB2vlscJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Best way to work with a CellTable and many-to-one relationship with objectify?
Thanks for the great reply as always Jeff. In contrast to you, my app is going to be used only by employees of my company, so preferably I would like to have all data sent over the wire encrypted. We're talking about employees of my company accessing data about our clients - so it is very sensitive data and I would think therefore that whether I need to use a DTO or not, everything should be private. Is this correct, or is it ok to use public properties without getters and setters as long as I'm encrypting the data? Cheers, Drew -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/YQX1oC92g6AJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Errors in test with rpc, memcache and jdo
Is this a joke? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/n-XWqukTTKQJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Does anyone use sitebricks?
Hey Gal, I'm struggling to see what it actually does and does not do atm. Maybe after I learn Guice for a couple of days all will become clear! I'm still feeling my way around GAE and GWT and now I have to learn Guice. Nice to know there is someone out there using it though! Drew -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/YzXOXQ7W8xYJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Does anyone use sitebricks?
Hey coders, I just came across google-sitebricks as I have just been watching the Guice video. I would have thought it would be quite popular considering Guice seems very popular, but there aren't many posts about it. I get that it's a framework, but finding it hard to get any info in it. Do any of you use it or what are your experiences? Cheers, Drew -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/PFTTkGDEEPkJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Best way to work with a CellTable and many-to-one relationship with objectify?
Thanks guys. So basically I should be grabbing the Supplies and Suppliers on the server side, combining the data I need from both into a SupplyDTO object, and passing that back to the client, rather than doing the processing on the client? Seems to make sense! Drew -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/B7fV3EzXtSEJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Best way to work with a CellTable and many-to-one relationship with objectify?
Well I am just trying to get some kind of demo program running and learn about cells/celltable while I go because my app needs to display lots of tabular data and I understand this is the fastest way to do it. What I am doing is this: Get the supplies (List) Loop the supplies, adding each supplier key to supplierList Get the suppliers (Map) add supplierName to each Supply (as a String) Call setRowData for supplies Like you say, this is ok for now, but I am wondering if there is a better solution. At least this way I am updating every Supply record with the name from the Supplier when it is accessed - that way if a Supplier Name does change, it won't matter. Drew -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/bJevzjyvaLIJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Best way to work with a CellTable and many-to-one relationship with objectify?
Thanks for the info, Bruno. So you are saying I need a kind of proxy entity that wraps the needed data from both objects? I think I may need a custom cell after doing a little more reading. There must be a simple way. Also I think I should have posted this in the GWT group. :/ -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/ei0ikt_ldN4J. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Best way to work with a CellTable and many-to-one relationship with objectify?
Hey coders, wasn't sure whether to put this in the objectify group or here, so I went for here. I have a many-to-one relationship that is causing me a headache. I am using a CellTable to display the data for this entity: class Supply { @Id private Long id; private String number; private String consumption; private Key supplier; } I am using an RPC call to grab the ArrayList of supplies and then display the number and consumption in the columns of the CellTable. I also however, want to display the name of the Supplier. As I understand it, a CellTable displays data from a single entity, so I would have to make another property in my Supply class to do this? Is this right? I am using GWT and the MVP architecture from here: http://code.google.com/webtoolkit/articles/mvp-architecture.html Thanks for any help you can provide. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/4IGNBRobfuUJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: When to use a String as ID? (using Objectify and GWT)
Thanks Jeff, I think I will use Longs as you suggest. I was originally thinking "why add an extra piece of data when there's a unique value there?" Well, now I know why! Just one question - the DatastoreService.allocateIdRange() - when would this be used? I have read the javadoc and understand that it reserves the IDs for bulk loading etc, but can you give an example of when it might be used. At the moment I have some code that creates 5 lists of my 5 entities (dummy data), puts all 5 lists to the datastore, links them up using keys, and then puts them all again. Is there a better way to do this? Thanks again for being so helpful. Drew -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/ErZFcwnAoRUJ. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: When to use a String as ID? (using Objectify and GWT)
Thanks Remy, I've just had a little play about with the java.util.UUID class. Seems pretty straightforward. I'll have a look into it a bit more later on, but maybe it will be overkill for my app - it's only a company internal one so maybe passing so many characters around might slow my app a bit too much. Any ideas what the difference in overhead on retrieving 1000 UUIDs compared to 1000 Longs would be? Jeff, what do you use, and is there any best fit for objectify? I definitely like the idea of manually assigning my keys rather than letting the datastore do it. Drew -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/cnJFTlk5X0lHN0lK. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] When to use a String as ID? (using Objectify and GWT)
Hi coders, I have a little quandary here - I'm in the early stages of developing an app that in essence, manages the details of companies. The 'main' objects as it were, are accounts (ie a client of ours - it's a bit like a CRM system) I decided to use the company name as the unique ID, but now this is causing problems for when I want to change the name of the company (this does happen quite a lot). I have been modifying Chris Ramsdale's Contacts MVP tutorial with some success over the last couple of days, but I find that when I try to update a contact by changing the company name or phone number, it simply adds in a new one and leaves the old one there (because the IDs are different the put doesn't overwrite the old one, whereas if they both had the same Long ID they could have different details on the name and phoneNumber fields but still the same unique identifier (@Id)). Now I COULD hack it and pass in the old account name, delete that one and create a new account, but that seems like it's going to cause all manner of problems. Anyone got any suggestions, or am I answering my own question here? Long IDs seem the way to go, but I like the fact that when I use my company name string I don't have to perform a put() before I start adding lists of keys to it, or is this just a minor thing? Thanks -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/UVJrWjhNODVqdW9K. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Coding with Adobe Software
Sorry dude, I kinda naively assumed you would already have some experience in HTML/CSS. As the two above have said, these are the foundations of all web pages. I highly recommend the tutorials on w3schools.com for both of them. They give a great introduction to becoming a web designer: - http://www.w3schools.com/html/default.asp first of all, and then - http://www.w3schools.com/css/default.asp They have a great feature that lets you try things as you go along, but notepad is the way to go also. Try making your own basic web page - practice adn experimentation are the only way you really get things to stick in your head. One last link for you: http://www.w3.org/Style/Examples/011/firstcss Have fun! Drew -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Feelings about new pricing model
Can't you just limit your maximum number of instances at any one time? In the case of the datastore "hiccup" surely google would make some sort of adjustment due to their own failures? I see you point and agree wholeheartedly Jeff, I guess I just trust Google to keep it reasonably competitive on price. Otherwise wouldn't we all just move to another service? Drew -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Coding with Adobe Software
Yeah don't bother with Adobe dude, waste of money unless you have invested significant time and money already learning how to become an adobe ninja. Google provides all the stuff you need for free :) so get into GWT and Eclipse. There are a few ways you can design the user interface using GWT: - In Java code, programmatically adding widgets and stuff into the page (see the StockWatcher tutorial) - GWTDesigner - a drag-and-drop interface that writes the Java code for you. - UiBinder - an XML system for designing your main layout in HTML-like format. I am only learning all of this myself but there are lots of tools available to us. Drew -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Feelings about new pricing model
Hi coders, Could people please correct me as I am trying to understand all this, have read quite a few thread/pages but still a bit unsure what is going on exactly. This is what I get so far: - Being charged for instances means we should probably use multi-threading in our apps to avoid significant cost increases, so google is encouraging us to write apps that make more efficient use of memory. - Python developers are piddled off because they can't use multi-threading. Can anyone enlighten me as to when an application that doesn't use multi-threading would require a new instance - when more than 1 request is happening simultaneously? When one JVM can't handle more requests? I am totally confused. I still think GAE is well worth the money. People are complaining about $50/month but I want my app to be making way more than that and I think the tools and support they provide make it way worth it. I just want to make sure I take all these measures into account to make my app as efficient as possible. Drew -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] JSP markup/code highlighting
Ah thanks a lot. I had initially installed the Oracle Enterprise Pack which had a JSP editor among other things, but it had loads of stuff I don't really need right now so I've uninstalled it and am giving the web page editor a try as mentioned on stackoverflow. Anyone else who wants it just search the marketplace for "Web Page" and install "Web Page Editor (Optional)". Thanks again Matthew! All the best, Drew -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] JSP markup/code highlighting
Hmmm... thanks for the tip, as it seems like a good plugin but I don't think it supports JSP :( Unless I'm doing something wrong. It just changes the text color and the background color. I want the text to be marked like HTML to make it more readable. Any ideas? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] JSP markup/code highlighting
Hi coders, just wondering if anyone knows an easy way to get JSPs recognised in some way by eclipse. I have downloaded the eclipse Web Development Tools (WDT) plugin/package v3.2.3 - I understand it's the best way to achieve proper highlighting of JSPs but it doesn't seem to have any support other than CSS and HTML. Thanks, Drew -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: How to Read gmail inbox
I would think you need to start here: http://code.google.com/appengine/docs/java/mail/overview.html -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Tips/Pitfalls for total newbies?
Sounds great Ikai, I'm sure it's going to be a great resource for people in my position. Sorry if my last post sounded like I was saying "Don't just make it a blind tutorial". I was just explaining why I made the thread and a few random thoughts... rambling basically. Anyway, glad to have created more work for you ;) -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Tips/Pitfalls for total newbies?
Hey Ikai, Great to hear that. We all know how hard it is to see something through someone else's eyes when you know it so well yourself. I think that when learning something from scratch like this it's good to try and strike a balance between just following tutorials blindly, and doing your own investigation and learning. Sometimes I find that I can accomplish a lot with tutorials, but then discover that they were teaching me to work a certain way that wasn't so clear at the time. On the flipside, throwing yourself in at the deep end without guidance can be a waste of time too. If I hadn't created this thread I would probably be spending this week learning JDO instead of studying the datastore, just because the tutorial introduces JDO, which is understandable, as a beginner's tutorial doesn't need to be confusing people with third party libraries and so on. For me, knowing what choices are available is key, as I can then work out which are best for me before going down any blind alleys. The guide sounds like a great idea - perhaps it could branch off in particular directions depending on the type of app the user is creating? I know that some of the above suggestions are not for me (ultra-high traffic levels are unlike to be a problem for instance) as the app is only for internal use and numbers will be in the tens to hundreds. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Tips/Pitfalls for total newbies?
So many brilliant replies - I really can't thank you all enough for being so helpful. I am taking it all into account and will spend this week largely 1) Watching the videos 2) Reading the docs and 3) Understanding the datastore and Objectify/TWiG. I think that's gonna be enough for now! Like many of you have said, I need to understand the basics first, before moving on to UI or anything else. I only got my test server running for the first time on Friday, so I have along way to go. Excited though! I have compiled all of your suggestions into a document and will be looking into them all in due course. Thanks again everyone. You really do make this world go round :) -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Tips/Pitfalls for total newbies?
Thanks Simon, I am going to work through the java example program and familiarise myself while I read all the docs. Thanks for the advice re: JDO. That's the kind of thing I was looking for. Also - is it best to stay away from GWT for now? I would assume I need to get my backend working nicely before I think about that. Cheers, Drew -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Tips/Pitfalls for total newbies?
Hi all, Totally new to this, about to embark on a development for my own business and think that GAE is the perfect solution. I basically want to make sure that we are making the right choice, and to be informed of any pitfalls early on. Basically the system will be a complete intranet/sales tool based around a rather complex pricing engine. I have previous experience using Codeigniter + Doctrine, but after tinkering with v2.0 for a while it just seems like it is very buggy, and still has many limitations over using Java. We already use google apps for mail and have a simple intranet built on google sites so users will be using their company email account for validation. There are a few key features we need: - Small number of users (~100) - Integration with salesforce.com (Using the force.com API?) - Integration with Gmail so that the system can automatically log and send emails, as well as pick them up. (Using IMAP/SMTP?) - Ability to upload and store basic files that can be downloaded by staff (Using docs API, or just datastore?) If anyone can advise of any things to investigate right now that would be really helpful. I have quite a few years experience programming, and a willing assistant with a bit of OO knowledge, other than that I will be learning to use things like JDO and JSP for the first time. All of your input is appreciated. Drew -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.