web-applications

Detecting suspicious behaviour in a web application - what to look for?

I would like to ask the proactive (or paranoid;) among us: What are you looking for, and how? I'm thinking mainly about things that can be watched for programaticaly, rather than manually inspecting logs. For example: Manual/automated hack attempts Data skimming Bot registrations (that have evaded captcha etc.) Other unwanted beh...

Web development: Haskell or Scheme

I would like to to choose one of these languages for building web applications. I'm not interested in framework per se, but have the following needs: Rapid development. Easy to scale. Strong community for the web. Quick and easy to deploy. I'm very familiar with Haskell, and have some familiarity with scheme (in particular PLT). Sch...

Where can I get full applications written in CakePHP?

I'm trying to master CakePHP and I figured one way to improve my code is to read other apps. I'm wondering, where can I find well written apps made with CakePHP? Thanks in advance! ...

Difference between portal and non-portal web pages?

What is the difference between portal and non-portal web pages? ...

How to deploy a single webapp with multiple web-modules that may be removed or added individually

We currently run two separate webapps (WARs) deployed in one single EAR containing additional JARs and settings. To improve our deployment I want to split one of these webapps into different modules that may be build and packaged individually. But I've currently no clue on how to package these modules so that I'm able to add or remove th...

merging / re-attaching IN JPA / Hibernate without updating the DB

Working with JPA / Hibernate in an OSIV Web environment is driving me mad ;) Following scenario: I have an entity A that is loaded via JPA and has a collection of B entities. Those B entities have a required field. When the user adds a new B to A by pressing a link in the webapp, that required field is not set (since there is no sensib...

Can shared Host/MySQl application support load of 500 users accessing the site at the same time

I have a new project and need some advice about managing the application’s load. The application will have over 500 users with about 70% of them logging on between 5 & 7pm each night. The users will pull down about 50 records, update the records and the save the changes back to the data base. Estimate each record will be updated in a...

Mini CMS library/framework?

Hello all, I have a web application which needs to allow admins to create content pages. I'd rather not re-invent the wheel here. What I need is something like Joomla, but it doesn't have to be a full fledged CMS. I need a framework or a library that I can use with my current web application which will present a nice interface for ad...

Login failed for user 'DOMAIN\MACHINENAME$'

I know this is almost duplicate of : http://stackoverflow.com/questions/1269706/the-error-login-failed-for-user-nt-authority-iusr-in-asp-net-and-sql-server-2 and http://stackoverflow.com/questions/97594/login-failed-for-user-username-system-data-sqlclient-sqlexception-with-linq-i but some things don't add up compared to other appliations...

ASP.NET: Why can't I call a web-service twice in one page?

Hi all! I built a web-application which calls a web-service twice in the application's log-in page - first, on Page_Load, and the second time is after a button click. When debugging, everything goes well, but after publishing the web-application and trying it - I cannot make the two calls for the web-service (each call is invoking a diff...

vs10 not deploying all required files - then not over-writing updated files

I'm in the habit of deploying to alternating folders (/inetpub/wwwroot/mySite & /inetpub/wwwroot/mySite2) so if something unexpected happens with the deploy i can quickly swap back to a previous version just by changing the path in IIS So i was deploying an MVC2 webapp to a empty folder figuring that VS would send up all the files it ne...

"session" bean scope in a web application - reliable ?

Can you rely on this scope and be sure that every time 1) a new session starts, the Spring bean will be initialized with default values 2) while session is kept alive, the current object will store its state during session life, will never be lost or corrupted and can always be got with [webappcontext].getBean ? ...

Stateful EJBs in web application?

Hello I never used stateful EJBs. I understand that a stateful EJB can be useful with a java client. But i wonder: in which case to use them on a web application? And how? Should we put these stateful beans in Session (because of stateless http)? Is it a good practice? (without debating too much about stateful vs stateless) ...

What should I make as my first JQuery application?

I want to get better at JQuery, but I don't know what type of application I should make to test my skills. What would you suggest that would not be too hard so I would get frustrated as a beginner. Any help is appreciated. Thanks! (sorry if I sound like a noob, by the way =P) ...

Is it faster to do the pages first and CSS second, or should I do them at the same time?

I have been tasked with building a new web project from scratch, with the exception of reusing CSS files (the look and feel) from an existing project. In the past I have always completed development of the functionality and the web-ui before considering the appearance. This is mostly due to CSS development overlapping with the tail end...

Searching for the right pattern to handle login data

Hi all, I'm working on a controller that handles logins for a Web app. These logins will come from multiple clients but will all contain the same data. However, depending on the client, this data will be interpreted into common entities for our webapp differently. For instance, we have a user code that gets sent in, and in one case we...

Reverse engineering/source code analysis of a struts web application

i need to reverse engineer and understand a struts 1.2 integrated with jsf application as a part of my job. unfortunately the documentation is sparse. please suggest how do i go about. what are the tools suitable for this purpose. ...

Is there a web tool framework for building a video editing/manipulation widget other than custom Flash?

I am looking to build a widget for a site which allows users to tag images from individual frames of a video file but would prefer not to have to build a custom Flash tool. Is there an existing free library or framework which simplifies things like this in a webapplication setting? Features would also involve basic video playback funct...

virus attack to the website and it is not showing anything

Hello, I have a web application which is developed in cakePHP, but from last few week, a virus is affected to the site and its not showing any pages. even if we go to the source code, nothing is there to display. I have checked the index.php, there is no extra entry. Can some help me to find out the solution. and, how can i prevent the...

Error message when running a Sinatra application on Windows Vista.

I was following a video tutorial by Adam Keys about how to make a URL shortener app in Sinatra. The code that is giving me problems is located here http://pastie.org/958644 So when I ran it I got this error: shortener.rb:12: syntax error, unexpected $undefined, expecting $end @@ home I typed it exactly as Adam said but this keeps happ...