web-applications

Best way to create a Web Service ON Android

Hi! I want to implement a Web Service on Android.. I want to use my device as server. After doing some research on the internet, I found several options: SerDroid (small web server for the Android platform) i-Jetty (open-source web container to run on the Android mobile device platform) KWS (lightweight and fast web server especially ...

ASP.Net web flow

I am developing a large asp.net based application. Certain pages & links require user authentication. At some page, I have links and form submission for which I first need to authenticate the user. Here is an example: In PageX I have a link L1. When user click, i check if user is authenticated or not. If not I redirect to login page. On...

Event-Driven Web Application in JBoss ESB

I am trying to create a web application with a display that updates based on messages on an Enterprise Service Bus (specifically, running on JBoss EAP 5). At present, we have a cache service sitting on the ESB, and the web application polls the service periodically to update its display. I would like instead for the cache service to be a...

multiple users, multiple applications, one server

I have an idea for a web application that involves a multiple users, two different applications (which will be run from a user's local machine), and a remote database server. Databases stored on remote server: 1) Username database - contains user information 2) application database - contains two rows, one for each application. Stores a...

Standard, open web application used for benchmarking

Anybody know any existing 'open' Web Applications with Source and Data that are used for Benchmarking (e.g. Shopping site with kart). Somebody is looking for something 'standard' that can be used as the subject of a performance tuning exercise. e.g. - as it stood, the XXXX application managed 2000 req/sec on Kit Y running in NetFx 2 an...

How can I bind the results of Web service to a ListView?

Hi all, I'm new to ASP.NET so I apologize if this is a basic question. I have a Web application. This web application has a ListView on it. From this web app I make calls to a web service which returns data from a database. I return the data from the web service using the following format: [WebMethod] public List<Record> Search() { ...

How to deal with merged objects/resources in a web app and in a RESTful API?

I have a web app that has lots of pages with a URL of the form /object_type/object_id/ which show this objects details. I also have a RESTful API, returning a JSON/XML representation of my objects (under /api/object_type/object_id/ ). (My objects are Laws and Bills, but I guess this question is rather generic). From time to time, I disc...

JAVA applet converting to web application

I have a applet witch enables to play Hangman. Now i want to create web application with this game code. What is the easiest way to perform this action and what tools or platforms is best for this solution? ...

iPhone: Safari vs. launch from "Home Screen" bookmark

What's the difference between these two? Do they both launch Safari (with the exception that the home-screen doesn't show a URL/tool bar? I've found weird quirks that appear in home screen version..do they have different rendering engines? For example, mailto: doesn't work in home-screen mode, and there are some small rendering/css-sty...

Writing a webapp for creating presentations

I need to write a webapp similar to Google Presentations, but with lot fewer features (single slide; no effects, just editing styled text; images and shapes), for a specific requirement. I am undecided whether to do it in HTML/JavaScript or in Silverlight. I rate my skills as: C# - Advanced HTML/JavaScript - Intermediate Silverlight ...

Socket using in a swing applet

Hi,I should made a server & client in Java,based on Swing and gui.I neeed to make somehow a socket that will go from the server to the client and from the client to the server, and will pass some kind of a string.I would like to have later a function that would do several things according to the string that would be in the socket. For so...

Visual Studio 2010 compiler error for base class extensions

I have a c# class providing some simple classes and some base class extensions such as this one.. public static Boolean ToBooleanOrDefault(this String s, Boolean Default) { return ToBooleanOrDefault((Object)s, Default); } public static Boolean ToBooleanOrDefault(this Object o, Boolean Default) { Boolean ReturnVal = Default; ...

How to bundle a webapp for distribution

Assuming you have developed a webapp that is to be used locally by the client, what are the steps required to distribute it? Use an embedded web server Glassfish v3 comes with an embedded version on the original distribution which you can use. Use an embedded database First thing that comes to mind is Apache Derby Now the tricki...

Possible to set up application services without using asp_regsql?

Is it possible to set up ASP.NET application services (membership, profiles, roles etc) for a site without having to run the aspnet_regsql tool directly? I have managed to create the admin user and roles in session start for the first user that visits the site (the developer), but want to go an extra step before hand and create the tabl...

What is required in order to implement a geo-spatial/proximity search?

I want to better understand what is required in order to implement a geo-spatial (aka proximity) search. I'd appreciate clarification on the following: Beyond the latitude & longitude for corresponding zip codes, what if anything, is required? Can anyone recommend any resources (books, websites, etc.) for understanding the formulas ...

Sample crawler using heritrix API

Hi all, I am trying to write a sample application which uses heritrix API for crawling web site. Can any one please point me to write direction about any tutorials or examples for same. I have already seen, How heritrix crawls website using Web UI, but I want to do this programatically. Thanks a lot Jitendra ...

Automatic website screenshots for Web app?

Is there a way to take automatic screenshots of a web page (by specifying its URL) in a web app using PHP or Ruby on Rails? Perhaps using a plugin or some external REST service. I've researched a lot, and nothing seems to fit except something like this (http://www.binarymoon.co.uk/2010/02/automated-take-screenshots-website-free/) but I...

How to set the website context path

Hi All, I have uploaded my .WAR file on to the server and deployed it. But now the URL by which it is accessible is http://example.com/myapp/ where myapp, is the name of the WAR file that I uploaded on to the server. I want to know how can I set it to http://example.com/ that is, skip the name of the WAR file in the website...

What are recommended programming patterns for passing identifiers/keys between server and client?

If I need to keep track of a key or token that identifies a resource being displayed and modified in the browser, what are the some of the programming patterns used? For example, if I display a list of movies and hookup ajax calls for users to checkout or review those movies, I'm assuming I would embed the identifier in the html which w...

How to deal with multiple step forms where one of the forms are not submitted

Say you have a submission process that requires two forms. The submission of the 2nd form triggers an email. What do you do if the second form isn't submitted? Say the user forgets or closes the window by accident. My only solution was to update the DB with a flag from the submission of the 1st form that identifies an email has not been...