web-applications

Suggestions for Single-Page Web Application Design?

My view is that unless you need to change the basic structure of the user interface, you should not have to reload the page at all for any user interactions. I'd like to approach my next ASP.NET MVC project with this in mind. Can anyone suggest any principles, patterns or practices* I should consider? Excellent book, btw. Still tryin...

Java Web Application

I am interested in creating a simple web application that will take in user input, convert it to an XML file and send the file to a database. Coding wise I feel I am okay, it is just the general setup and what implementation to use I am a bit unsure of. At the moment I have a JSP page containing a form, the user fills out the form and...

Splitting EJBs and interfaces into separate module -- deployment fails

I'm having trouble following this guide to "extract" my interfaces and entities from my EAR to use them from another Web Application: I use NetBeans 6.8 and Glassfish 3.0.1 "Java Class Library" project contains all the entities and interfaces "Java EE Application" project class library added to the project, is packaged into the EAR ...

Servlet doPost() Method setup?

I am interested in creating a web app that uses JSP, Servlets and XML. At the moment I have the following: JSP - Form input. Servlet - Retrieving Form data and sending that data to a java object. Java object (1) - Converts data into XML file....instantiates java object (2). Java object (2) - Sends that file to a database. On the re...

Rest Web Service with App Engine and Webapp

I want to build a REST web service on app engine. Currently i have this: from google.appengine.ext import webapp from google.appengine.ext.webapp import util class UsersHandler(webapp.RequestHandler): def get(self, name): self.response.out.write('Hello '+ name+'!') def main(): util.run_wsgi_app(application) #Map url like /res...

Grails application hogging too much memory

Tomcat 5.5.x and 6.0.x Grails 1.6.x Java 1.6.x OS CentOS 5.x (64bit) VPS Server with memory as 384M JAVA_OPTS : tried many combinations- including the following export JAVA_OPTS='-Xms128M -Xmx512M -XX:MaxPermSize=1024m' export JAVA_OPTS='-server -Xms128M -Xmx128M -XX:MaxPermSize=256M' (As advised by http://www.grails.org/Deployme...

Suggestions for a mashup application

I have to write a mashup application for an university course and I have to use some APIs, but I need to choose by myself what to use and what the final application should do. Unfortunately I never made an application like this, so I'm not sure what to do... I don't want to code a stupid app which uses google maps' APIs since the web see...

Rehosting workflow designer in web

I know WF designer has re-hosting capability. Since it's WPF-based, I thought it might be rehostable in web, using silverlight. Does anyone have any experiece regarding this? Or, does anyone know an easy and powerful web-based workflow designer solution for WF? ...

Is it possible to track if some one printed a web page?

I think that's not possible, but I want to make sure. ...

Zend Framework - Reading Application.ini values from a Controller

I am trying to store my Google Maps API Key in my application.ini file, and I would like to be able to read it from my controller whenever its needed. How can I go about reading values from the application.ini from my controller? Thanks! ...

Visual studio won't debug into referenced DLL (from same solution)

I have a Visual studio 2008 solution, with 2 projects. A DLL, A, and a Web application, B. B has a project reference to A, and A.dll and A.pdb are being copied to B's bin/ directory. Everything is set to compile in debug mode. I can run the cassini webserver and debug web application B fine, but when I come to call a method in A.dll,...

Can you cross-site ping another site using C# or JS/Ajax?

On our web application I am trying to ping a 3rd party site to see if it is up before redirecting our customers to it. So far I have not seen a way to do this other than from a desktop app or system console. Is this possible? I have heard that there was an image trick in original ASP. Currently we are using .NET MVC with Javascript. ...

ASP.NET web application can't find an assembly

I deployed an ASP.NET web application last night and I when I woke up this morning it was very slow and would occasionally just throw a 'Service Unavailable' error. I checked the Event Viewer and it was filled up with these errors: An unhandled exception occurred and the process was terminated. Exception: System.Runtime.Seria...

Which parts of Sharepoint do I need to understand to build a publicly facing website?

I am building a publicly facing website that does the following. Users log in. And then view a list of their customers. They click on a customer to view their past purchases, order them, change them etc. This is not a shopping site by the way. It is a simple look up tool. Note that none of the data accessed by the website is in anything...

Using Hibernate outside the context of Tomcat

Anyone used Hibernate to access a DB in a pure java app (not a web application)? What was your experience like, did it take long to set up and get going? ...

Web application

hi guys, its my first web application in real world and am very much confuse from the beginning am working on Merchandise suppliers application, which includes various type of products. for an instance Home > products> cloths > men > t-shirts > add basket >send information to my client, I don’t need to add PayPal , just need to send in...

Is there a Twitter App Builder?

I have a small fun Twitter app idea and I was wondering if there are Twitter app builders such as the ones you can find for iPhone? If there aren't any. Are there good resources of learning how to put a Twitter app together? ...

Strengths and Weaknesses - Ruby on Rails

I was wondering what are the strengths and weakness of using Ruby on Rails for Web Application development. I would like an insight from other developers as to why they have chosen to write in Ruby on Rails over other languages and technologies. What does Ruby on Rails provide that has the edge over other web application technologies an...

SSO possible with LDAP-backed web applications?

I have a client who wants their wordpress and google apps user accounts accessible using SSO, ie if they log in on one app domain google.client.com they will be logged into wordpress.client.com too without extra steps. The same LDAP directory will be used to do backend authentication for both systems. Is it possible to setup SSO for ...

Is the webserver OpenSocial requirement a 1 to 1 relationship?

For OpenSocial, it requries that you have a separate webserver with a non-self-signed SSL Cert. Can I run one app server for multiple websites or is it always one server per website that will actually be running opensocial? Also, can the app server be the same server that is hosting the website? ...