Where do you do validation in a webapp (backend)?
Option #1: Service layer?
UserService.validate(FORM); // verify and returns struct of errors
Option #2: Object layer, on setter? e.g.
user.setEmail(email); // throws invalid/used e-mail
Option #3: Object layer, validate()? e.g.
user.init(FORM); // accept any values, no ty...
Is there a good performance tool for benchmarking like Siege for Windows?
...
I already import my tweets into Facebook so that they become my Facebook status, but is there a way that I can get my Twitpic/Twitgoo/other Twitter photo services to post photos to my Facebook wall automatically or sync with a Facebook album?
Thanks :D
...
I am looking to integrate some dynamically generated BI reports into a web app. The requirements are:
Able to view report based on JSON RPC XML, or some similar streaming data source (therefore, not requiring direct access to the DB). Why? Because many users have access to different copies of similar data. I.e. 3 companies, 5 projects....
Hello
I read now a few days here and i learn a lot of things.
Now i want to ask you, if you know web based applications, which uses jQuery. At the Moment i have only one example: http://gantter.com/
My special interests are webapplications not websites. I know the technologies are the same - but the view is totally diffrent.
I hope to...
If I want to sell a web application as an installable product on the customer's servers, what are the best method practices for enforcing licensing such that it's not easily ripped and pirated?
...
First off, I think I'm trying to use Spring incorrectly, but confirmation would be appreciated.
I am trying to reset a single bean in mid-application. My initial configuration works just fine.
My scenario
1 Insurance Claim bean (session
scope)
1 Claim details bean which is a
multiactionController
(getClaim&setClaim enabled, protot...
Hi there,
I am working for a developing firm and am doing a major redesign on a Web Application, which reloaded everything after each click, to make extensive use of Javascript, so it actually feels like a real Web application. One of the Features is to use a web-based Painter (think of MSPaint on the Web), which I embed on the Page on ...
Im looking at developing a web front end to control and monitor quartz jobs. Does anyone have suggestions for starting points, APIs, or other places to look?
...
I have problems getting two different struts2 webapps to start together in tomcat. But each of the webapps start correctly when placed independently inside webapps folder of tomcat.
I get the following in catalina.out logs-
SEVERE: Error filterStart
Aug 13, 2009 3:17:45 PM org.apache.catalina.core.StandardContext start
SEVERE: Context ...
Our testing system is pretty rudimentary; fire up a browser, see if it works. Recently we ran into problems, found by our client, with our application where the number of users created a slow-down in the application. The application is basically a huge Word document with people editing their own versions all at the same time. Part of the...
I've read recommendations that we should create separate application pools for each asp.net application on our Win2008 server.
We have about 20 apps that would be on the same server. I know this would create 20 separate worker processes which seems very wasteful.
Is it good practice to create separate application pools for each applic...
I have a web based order dispatch system. At the moment, users of the system print out a dispatch note manually (ie, they choose "Print" in their web browser).
I would like to update the system so all the printing is handled by a single dedicated machine. I am expecting it to poll the server to see if anyone needs something printing, th...
I'm currently using a very simple MVC framework, Bear Bibeault's Front Man, which, for those not familiar, is pretty similar to Spring MVC (in concept at least). One of the issues I'm having is how to handle exceptions properly.
I am currently doing something like this,
try {
//do something
}catch (Exception ex) {
logger.error(...
I'm troubleshooting some old code that uses the Microsoft.Web.UI.WebControls dll to create tree views and tabstrip controls on some pages. The tabstrip controls are not behaving correctly on our test site. Instead of hiding the portions of the page that are not on the selected tab they show everything. This error doesn't happen when I ru...
I'm currently building a web application (utilizing Zend Framework) and have gotten some of the basic HTTP status codes down, such as:
404 on missing controller/action
500 on server exception
3xx returned by Apache
At the moment I have just implemented some basic ACL checking that the user is authorized to access a certain resource. ...
I'm using a very simple MVC framework, Bear Bibeault's Front Man, which, for those not familiar, is pretty similar to Spring MVC (in concept at least).
For most cases, I am using a JSP as my view. To prevent direct access to the view, I place the JSP files inside the WEB-INF directory.
However, in some cases I need to use a servlet to ...
How would you analyze your web application to asses the amount and kind of changes you will have to do to be able to support a new browser or a newer version of the same browser.
I have IE7 in mind, but am looking for general advice.
Added clarification:
I already have an existing application. Not designing a new application,
We need ...
Any good way to preserve ASP.NET Application state across restarts?
I want to be able to set some values restart the app and have them still be there.
I want to primarily do this for small "throw-away" test web apps that don't even need a database.
Is there some way to do it with static members and serialization? web cache?
UPDATE:
Ap...
I want to make web application that makes data voice call using GSM modem in asp.net
...