web-applications

Windows Application vs Web Application development

Just trying to get a more thorough understanding of the major differences between windows(desktop) application and web application development. All my knowledge and experience has been as a web application developer, with c# and the .net framework. I am interested to know if it's common for developers to be skilled in both areas, i.e. WP...

Security issues of letting a user being able to change their email address?

I'm developing a web app and currently I'm trying to decide whether or not to let my users to change their email. If an account gets compromised the attacker only needs to change email and then reset password to gain complete control of the user account. However with no ability to change email address, the user can regain control and s...

New MVC architecture paradigm for web apps?

After reading a couple articles about web MVC architecture, I'm conflicted about how to go about creating an modern web application nowadays. The previous web paradigm consisted of: Model: Business logic server View: Dummy browser client that showed whatever the controller told it to show. Controller: Web server tier that maintained...

How can I access UDP ports using a web application on the client PC?

One of the thing that current Windows application does is that it writes out information to a hardware device via a UDP message. We are considering porting the application to web-based. I checked Silverlight, and that doesn't allow UDP. We don't want to use ActiveX or Java Applets. What are the other options? Thanks. Update - does an...

How to configure HAProxy to consolidate outbound appserver connections

I would like to use my HAProxy server to consolidate out bound application server requests. My application interacts with 3rd party, external services and I would like to be able to interact with these services using a single IP address. I would also like to be able to do this via HTTP and HTTPS. Any examples on the configuration to do t...

Handling event simultaneity at the web-application level?

Hi all, I'm sure this problem has been considered or even solved before; I just don't know how and what all my options are. Would greatly appreciate your ideas, any links to useful info... even if you don't have actual code/implementation to share. Many thanks! Let's say: I have a bunch of nodes on the Internet. These could be either ...

Python/WebApp Google App Engine - testing for user/pass in the headers

When you call a web service like this: username = 'test12' password = 'test34' client = httplib2.Http(".cache") client.add_credentials(username,password) URL = "http://localhost:8080/wyWebServiceTest" response, content = client.request(URL) How do you get the username/password into variables on the server side (i.e...

web applications -- where to start?

Hi, i'm fairly new at webapp development in java and have been looking around for a decent tutorial on this subject. I've found a whole bunch of frameworks from struts to seam. Which framework should i look at considering my level of expertise in this area is fairly low? Also is there a global tutorial on web application fundementals...

Q & A site similar to stackoverflow in PHP

I am developing a Q & A Site for my students. I find stackoverflow an amazing example and would like to have something similar(if not this feature rich) for my course. I am a sytem programmer not much familiar with web-application development. How do I begin. Database scheme, features, AJAXness etc. Can I get some existing codebase I ca...

Where do I put static files for GWT app? war folder or public folder?

I have some JavaScript files, a main HTML file, a main CSS file, and some CSS files that get imported into the main one. I understand that I can put static files in two places: a) the 'war' folder; or b) the 'public' folder. Where is the best place to put my static files? Are the two locations treated differently? Is there a 'best prac...

Query string parameters and tempering

So let's that I have two dependent objects whose id's i pass in the query string, and let's say I am not going through parent to get the child but rather I read child directly via dao and I can save it also, without going through parent. What should one do on the client side, or should I even check it to see if id of the parent in the qu...

Start webapps in tomcat in a determinate order

I have 2 webapps WebApp 2 depends from webapp 1 If webapp 1 is not running, webapp 2 fails Can I define in tomcat that I always want that webapp 1 starts before webapp 2? Thanks ...

Apache Camel Spring configuration problem - Unable to locate Spring NamespaceHandler for XML schema namespace [http://camel.apache.org/schema/spring]

I've posted an excerpt from my spring.xml file and the stack trace I'm getting. <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:lang="http://www.springframework.org/schema/lang" xmlns:util="http://www.springframework.org...

How to use virtual memory (swap in linux file system ) in java web programming

I work in java web application . In some section i use very huge tree variable that save and persist in memory (RAM) . Can i migrate this to virtual memory (swap) . note : huge tree consist name and email for all user that use in suggestion Ajax text-box . ...

Best way to launch a new application design ?

Community Wiki Question! What is the best way to launch a redesigned application? Do you announce the changes and then just launch the new look and feel ? Do you announce the changes and then run two versions of your application ? What are your thought on this process ? ...

What's the best way to avoid chargebacks in an ecommerce web app?

Is there a particular payment method that is less susceptible to chargebacks than others? ...

Translation process

Before you start to read, here is a related question, however I am afraid it lacks details... My situation is very simple, I am working on website which is translated in a number of languages. We have variants of the website customized to clients needs and they opt for the languages that best target their intended audience. However, we...

How do you edit the browsercaps section in the machine.config file of the web server

I am trying to edit the browser caps for my ASP .Net application in web.config but it seem after editing the effects are not realized in my browsers e..g Firefox and chrome, so i heard that you can put your browsercaps in machine.config but after doing that when i run my applications on my server its now saying service not available...as...

Is there an HTML5 RIA toolkit available?

I think that HTML5 is the way of the future for the development of Ria application due to the reduction of the ammount of javascript need for basic animation, video, etc. So what are the tools available NOW to develop html5 interfaces? EDIT: It's been a year since this question has been asked. Has the outlook for HTML5 changed for th...

Time Entry - Usability

What is the conventional wisdom around entering times into a web app? I've seen both free form fields, and drop downs. I have a user right now arguing that drop downs are easier to use, despite the fact that you have 18 options between 3 drop downs. I feel that using a text field (and PHP strtotime()) that I can eliminate all of that ha...