web-applications

How can I share my JSP .tag files between multiple contexts?

I have a set of .tag files (for example a tag that renders a copyright notice) that I want to share across all my application contexts on my Tomcat application server. I've only ever used them in a context's /WEB-INF/tags directory, referring to them via the taglib directive tagdir = "/WEB-INF/tags" How can I make the tags available to...

Chrome or Firefox (or browser-agnostic) for an intranet app?

If you were designing a core business intranet app for a small business, and wanted it to be as responsive-feeling as possible, where the staff are indifferent to being stuck with a certain browser, would you design for Firefox, Chrome, or test more widely than you need to just to avoid lock-in? Are there other factors you'd consider be...

Hosting and interacting with a webpage inside a WPF App.

I need to create a Web-based Dashboard tool for a LOB application. Essentially users need to be able to log in to a web-site which will allow them to view stats for various bits of data, as well as see any notifications that pertain to them. Our primary application is built for the desktop using WPF. We also need to provide an identical ...

Web Application Architecture: Future Proofing

Hello all, I have a web application that currently sends emails. At the time my web applications sends emails (sending of emails is based on user actions - not automatic), it has to run other processes like zipping up files. I am trying to make my application "future proof" - so when there are a large number of users I don't want the ...

ASP.NET Web App Distribution

What is the simplest way to distribute an asp.net web application? I tried to look at some of the open source asp.net projects out there to see how they distribute their apps and how they do updates and they seem rather complicated to me (not for myself to perform but for non-technical users). A lot of them entail backing up the entire i...

Recurring billing with Rails and ActiveMerchant: Best practices, pitfalls, gotchas?

We are prepping for the release of a large web application that has been in development for the past year. We are about to start the process of integrating ActiveMerchant to handle recurring subscription fees for the service. I am looking for any advice regarding best practices considering our requirements (listed below) and any additio...

Smooth process during development of Java web applications - how are you doing it?

Share anything you find important and think could be of use to others. Some questions you might want to answer: Do you use Jetty to run the application during development? Do you use another database than MySQL during development? How do you manage dependencies? Do you use Eclipse, NetBeans or other IDE's? Why did you make your IDE ch...

Monitoring Apache Tomcat applications in production environment

How do you ensure that your applications in production are up and running? How do you alert your team of developers if something goes wrong? I'm asking this because I'm writing a bash script to check for this issue, I'd like to know if there is a smarter or more complete way to achieve this. The idea behind is this command: 'wget -q -O ...

Twitter-like login system (passing parameters in URL?)

How do you pass parameters in a URL? I'm trying to design a login system similar to Twitter's. Notice how you can either login to the main page of www.twitter.com or you can go directly to customised pages such as www.twitter.com/lancearmstrong and www.twitter.com/rails . That's exactly what I need for my project. Thanks. ...

What would you include in an image management/sharing system?

I am looking to build a web-based tool to provide an image repository that can be shared like this.. Required: Upload multiple images in high quality EPS, RAW, etc. At any time a group of people may need to see a subset of photos (but not all) through a link. Most often it would be to view higher quality photos. What I envision is ...

What is the difference between web application and website in asp.net?

What is the difference between web application and website in asp.net? and if it have a difference which best from all sides? thanks in advance .. ...

Generating and submitting a dynamic number of objects in a form with Django

I want to be able to update a dynamic number of objects within a single form using Django and I'm wondering what the best way to do this would be. An example of a similar situation may help. Model: class Customer(Model.models): name = models.CharField(max_length=100) active = models.BooleanField() Form (I know I'm mixing view...

What are the benefits of session-per-conversation?

Currently I'm using a session-per-request approach to manage Hibernate sessions in a Java web application. I heard the term session-per-conversation thrown around and was wondering what situations it suits and what benefits it can bring over session-per-request? ...

JavaScript/CSS vs. Silverlight vs. Flex

We currently have a quite complex business application that contains a huge lot of JavaScript code for making the user interface & interaction feel as close to working with a traditional desktop application as possible (since that's what our users want). Over the years, this Javascript code has grown and grown, making it hard to manage &...

IIS 5.1/6.0 Differences with DataGrid and SqlDataSource Refresh

I'm having a strange problem here... I have an ASP.NET 3.5 application that has a GridView and a SqlDataSource on the Default.aspx. The GridView is databound to the SqlDataSource. The GridView has a button for each row called "View" that sends the user to a separate page where the row can be edited. I have two installations of this a...

Is there a stable and secure CMS that makes it easy (through docs and community) to write plugins/modules?

I'm thinking about building a website to have some kind of public facing content, but at the same time, I would like to be able to build modules and plugins without too much of a hassle. I'm looking at things like Wordpress, Joomla, and Drupal, but I'm wondering if anyone has personal experience in using and (more specifically) developin...

How to start modelling a web application?

I ask this, because tomorrow is my first meeting with the client, in which she tells me, what she is doing right now (by hand) and what it is, what the new web-application should do in the end. I wondered, what I do during she shows me the steps of the process. Do I recognize use cases and model them directly? Do I describe the process...

How to handle stale connections?

Hi Friends, Ours is a J2EE app, using Struts-EJB-Hibernate on Websphere 6.1 over Mainframe/DB2 backend, that was recently moved to production. We are getting stale connection exception when the user login to the application first time or some times this exception occurs intermittently. on the second try the user able to log in to th...

How can I get JBoss to explode a deployed WAR file?

I am running JBoss 4.3 on Ubuntu under /usr/local/jboss-4.3/. I have deployed my application as a WAR file i.e. myapp.war, to /usr/local/jboss-4.3/server/myserver/deploy. However, there doesn't seem to be an 'exploded' /myapp directory under the deploy folder, how come? I am used to Tomcat running on Windows so I am a bit new to JBoss. ...

Web usability - datalists and operations on rows of data

Where you have a databound list of items and for each item you may want to provide users the ability to (for example): Delete Download View Detail or 'mark' in some way You have a few options: Provide buttons or links within the row itself to complete the operation on the row item Provide a checkbox select within the row and then a...