web-applications

Is CGI in any way bettern than Servlets?

We have a web reporting application that was built with cgi (C/C++) 10 years back. Due to performance and security issues, it needs to be rearchitectured. What could be the best technology solution to re-engineer the cgi based architecture? ...

Running a web app in Grails vs Django

I'm currently in the planning stage for a web application and I find myself trying to decide on using Grails or Django. From an operation perspective: Which ecosystem is easier to maintain (migrations, backup, disaster recovery etc.)? If using grails it'll probably be a typical tomcat + mysql on linux. If django it'll be apache + my...

Custom ID in session handling by Java Servlet API

Is it possible to assign a custom ID to a HTTP session through Servlet API? I know that session handling from any application server, Tomcat for example, it's enough good to generate unique IDs. But I have custom unique session IDs based on information per user and time, so it won't be repeated. And I looked at every documentation abou...

How do you find the base url from a DLL in C#?

From within a DLL that's being called by a C#.NET web app, how do you find the base url of the web app? ...

Hashes vs Numeric id's

When creating a web application that some how displays the display of a unique identifier for a recurring entity (videos on YouTube, or book section on a site like mine), would it be better to use a uniform length identifier like a hash or the unique key of the item in the database (1, 2, 3, etc). Besides revealing a little, what I thin...

What is the best way to manage permissions for a web application - bitmask or database table?

I'm considering the best way to design a permissions system for an "admin" web application. The application is likely to have many users, each of whom could be assigned a certain role; some of these users could be permitted to perform specific tasks outside the role. I can think of two ways to design this: one, with a "permissions" tabl...

Suggestions for a Web application for a group project.

I am doing 2nd year computer science and we have a software engineering group project. There are 5 people in the group and we would like to build a web application in php. Please suggest some ideas for me ...

Storing web content in a JAR file

Is it possible to store web content (such as JSPs, HTML, images, CSS etc) in a JAR file? I've been looking at various options at modularising our web applications and this is one possibility. We are currently using JSF and Facelets for our view technology - I'm thinking it may be possible to write some form of custom view resolver whic...

How do you deploy a web app to the desktop?

I generally build web based applications. But, there is sometimes a need to distribute these applications to various platforms and have them act more like regular applications than web apps. A quick solution might be to create an icon that opens the browser with no menu, url bar, or icons. It looks like IE might have some options for ...

Spreadsheet-like control for a web application?

A client of mine is looking to convert a critical 'application' based on multiple (very complex) spreadsheets into a web app. As part of this they'd like some of the web pages they use to enter/model data to resemble a spreadsheet as much as possible. I'd be interested to know if anyone has any experience/recommendations for embeddable...

Deploy time Webservice location.

I am actually using framework 1.1. I my Web application i am actually adding a reference to a webservice. I am doing this using the Visual studio. When i add a web reference the below list of files get generated. reference.map reference.vb reference.disco reference.wsdl. all these files have the url pointing to the webservice. Even...

When should a web service not be used?

Using a web service is often an excellent architectural approach. And, with the advent of WCF in .Net, it's getting even better. But, in my experience, some people seem to think that web services should always be used in the data access layer for calls to the database. I don't think that web services are the universal solution. I am th...

How can I try a new language or framework without installing it?

With so many languages and frameworks that exist, and with new ones appearing all the time, I don't have the time to download, install, and configure each one to evaluate it. In the past I've run across webapps that allow one to write or paste code into a window, and see the results in realtime in the browser, usually in a tutorial setti...

Using Session[] with Page Load.

I want to load the data into session so that when the next button is clicked in crystal report viewer then in should load the data from the datatable instead retrieving the data again from the database. Here goes my code... ReportDocument rpt = new ReportDocument(); DataTable resultSet = new DataTable(); string reportpath = ...

Struts JSP previous link

Hi, Does anyone know how I can retrieve the previous JSP URL that a page has come from within a JSP? Can I retrieve this from the session/ request/ response object? Hope this makes sense, Thank you ...

Payroll System Design, Business Logic in SPs or Application Layer (C#.Net), Maintainability - Repost

Hi, We are designing a Payroll Generation System for a client. The organization we are targeting has a hierarchy as follows: Company -> Cluster -> Business Unit (BU) -> Department -> Employee The salary for an employee is made up of various salary components. Each salary component has 3 rules associated with it, a Calculation Rule (Ca...

easiest way to prevent the back button of your browser from showing secure data after a user logs out?

In a normal web app w/ login and secure data, what is an easy way to secure that data and prevent it from being seen by using the browser's back button, once a user logs out? ...

Can someone describe the landscape of the CMS world?

I'm going to be creating a site that's an aggregation of personal activities like Delicious, twitter, last.fm, etc. along with a blog. I'd like to try a CMS to manage/develop this site, but there's several very strong competitors: Joomla, Drupal, Xoops, Wordpress, etc. Language is not an issue, as a Java dev I'll be learning as I go reg...

Ext Js and Adobe Air

Can anyone reccomend some good tutorials for ext js and adobe air? The ones I have seen seem to start with you knowing a lot or already having a lot of code in place. What I am looking for is a simple step by step guide that takes you through the basics of Ext Js in use with adobe air, in fact i suppose just a good Ext Js tutorial for b...

Books for web application development?

What books would you recommend for getting into web application development? EDIT: I'm looking more for conceptual stuff, like planning, design, information architecture, books on the planning stages of web application development. I'm somewhat new to the industry, and I only have freelance experience, so I'm looking for book ideas fro...