web-applications

What is the "http"/IIS capacity of an EC2 micro instance?

I want to separate the current high cpu medium instance that I have into high cpu + micro instance in order to take in more http traffic. Does anyone know how many simultaneous connections can a micro instance take in? The initial idea is to separate the db and host it from sql azure but due to some old stored procedures, I'm opting to s...

GAE webapp application internationalization with Babel

How would you go about internationalizing a Google App Engine webapp application using BABEL? I am looking here for all the stages: Marking the strings to be translated. Extracting them. Traslating Configuring your app to load the right language requested by the browser ...

Using Django-admin and a custom user-specific admin concurrently

I'm creating a Django powered website that will have numerous applications (Blog, Shop, Portfolio, etc.) that will be edited by 5 or so people, and I have so-far been designing everything with the Django admin in mind. I have come to realise that this is a very bad way of thinking -as really- the Django admin should really only be for ...

Node.js Web Application examples/tutorials...

So I finished watching Douglas Crockford's excellent series on Javascript, and in the final episode (so far), loopage he lays out why Node.js is a near perfect solution for server side code. He talks about keeping state, not in the database, but in closures running in Node.js, he also states that templating systems (like JSP, PHP, and A...

BlackBerry web app - 100% width not filling screen

Hey everyone, I'm working on a mobile web app and I've noticed on both my test phones, which are BlackBerry 9700 Bold (OS 5.0) and BlackBerry Tour 9630 (OS 4.7) do not render width properly. I have a simple table that I've declared to be width 100%, but the table doesn't expand and take up 100% of the screen. There is a gutter / white...

Is there a web site that does XSLT transformations and provides a URL as a result?

I would like to use Foursquare API XML results and transform them using XSLT to a RSS feed. I was wondering if there's any web site that has that functionality and generates a URL that returns the final transformation. Something like: From URL: http://foursquare.com/myapicall + XSLT transformation I get a new URL: http://transformer/u...

The best approach to make a data intensive application in RIA space

We are contemplating about the technology stack for a rich internet application for a data intensive application. The typical characteristic of the application is to load a big amount of data (say around 40000 records and each record having 8-10 fields) and than work on it on the front end. The user might change the data in any way and t...

Java dynamic page title

I've just been given the task of updating a web page in an enterprise java web app to include the date in the page title. Currently the web page is a static html file - what do i need to do to get the page title to be the current date in YYYY/MM/DD format? Sorry I have no idea where to start! ...

Preparing Ear file in maven..

Hi All, We have replaced ejbs with Spring transaction and security(service facade) in our project. Earlier we were using maven ejb plugin to include dependent libs in the classpath. <plugin> <artifactId>maven-ejb-plugin</artifactId> <configuration> <archive> <manifest>...

Find Similar Rows in Database

I try to design my app to find database entries which are similar. Let's for example take the table car (Everything in one table to keep the example simple): CarID | Car Name | Brand | Year | Top Speed | Performance | Displacement | Price 1 Z3 BMW 1990 250 5.4 123 23456 2 ...

Generate an image an show it in a html page without write it on the disk

In a my project in Ruby On Rails (but this is not important), when I load a html page, I need to decrypt an image (jpg) and show it in the web page: after the page request, the image is decrypted an the file is write on the server disk, so the browser can show the image. I don't want to write the image on the server, but I want to encry...

ensuring dynamic image urls in a web-app: use a blob store?

I want to serve images in a web-app using sessions such that the links to the images expire once the session has expired. If I show the actual links to the filesystem store of the images, say http://www.mywebapp.com/images/foo1.jpg this clearly makes stopping future requests for the image (one the user has signed out of the session) dif...

How do you reconize voice from web app

I want something really simple to identify one word ( "UNO !" ) ...

Failing to deploy webapp in tomcat using maven cargo

I am trying to deploy a webapplication using maven cargo plugin into tomcat server. But i am getting the below error when i am running the command mvn cargo:deploy in the command prompt. [INFO] Failed to deploy [C:\Users\Ramesh\workspace\SimpleSpringMvcExample\target \SimpleSpringMvcExample.war] FAIL - Encountered exception ...

How to detect from web application that client uses http proxy - why XFF header is missing?

I try to discover, from the web application, whether client uses transparent proxy. It should be simple in theory: just check for existence of XFF (x-forwarder-for) header. But for some unknown reasons this doesn't work at all. I work in the office which is connected to internet via corporate transparent proxy. If I go to any "ip-proxy-...

Is Jetty ever used for production deployment?

Why would it be preferred over Tomcat? Is your experience with big or little companies? Internal or external (customer/public facing) systems? ...

Measuring Web application session resource consumption

Hi guys; I have this web application that i have created using Wicket, Guice and JPA. I would like to advise my clients on the resource consumption of the application so that i can also advice him on the optimum hardware to purchase. What is the best way of measuring the Memory and CPU consumption per session as well as the network band...

How to return back to app after clicking on anchor that has target="_webapp"?

I link an external site through target"_webapp" hence it will open in the same window in my full screen mode. However, i want the user to have an option of going back to my app. How do i do that? ...

How to manage conditional enable/disable state on a mvc form?

I'm building a form with many panels and many controls (both inside and outside the panels). Panels and controls have to be enabled/disabled for edition (and probably disabled for edition with the last selected value) depending on model state, other panel's state and their own business rules validation. Until now, we have created many pa...

Compare Python Web Frameworks and their respective HTML5 APIs Implementations

If you are familiar with a specific python web framework that has implementations for HTML5 API(s) ie.WebSockets, Forms, WebWorkers, WebStorage, Communication, Geolocation, Canvas, etc. Then please list the name of the framework and its HTML5 capabilities. ...