web-applications

Tutorials for creating and deploying a simple java portlet in pluto 2.0

Hi! I'm new to portlets and pluto and would like to start with getting a simple hello world portlet up and running on pluto 2.0, but most of the resources I found for this are for earlier versions of pluto or not specific enough for me since I'm new to this area. The eclipse plugin also does not work for pluto 2.0 Please provide links ...

How to access images on a directory outside of the web application

I'm using Apache and Windows and I'm writing an application that needs to display the images of parts that are on a different server, not in the path of the application directory. There are too many images to move and other applications use these same images. What is the best way to deal with this problem? The back end is php and myslq...

Web Application Scanner

I want to develop a Web applications to collect or exchange sensitive or personal data, this system would give user a detailed automated report on : • How secure user's website is? • How easily it can be hacked? • Where exactly is the problem and • What are the remedies? Any suggestions???? ...

[asp.net-mvc] Global.asax Application_start fired on every action

I am working on a MVC project and the performance was fine. On application_start the database gets indexed for the lucene.net search (and on every change on an object the index is extended). But application_start runs on every action I call on the page. Why is it firing application_start not only once? I will post any code when I know...

Google App Engine as production platform

We are about to start working on new commercial web project and considering Google App Engine as a potential platform. Questions: Does Google App Engine is really scalable and may be considered as a production platform for commercial project? Is it more expensive (or cheaper) than good hosting company service in long run? Is it possi...

Is there a standard domain for testing "throwaway" email?

I've noticed that the domain contoso.com is often used in documentation when a sample is needed. I always figured this was a dummy domain, used like the telephone prefix "555" to route spam into some kind of telecommunicative void (although contoso.com appears to be a real site). Is there a domain I can safely use when I have to, sa...

Rails: when would one use shopping cart software when developing a webstore with rails?

For someone who would like to develop a webstore type web application, and at the same time learn about web development with rails, would you recommend using a shopping cart service or starting from scratch? I guess I'm not entirely sure exactly what shopping cart software is either, so if someone could elucidate this and explain why som...

How does Streaming Stock Quotes on Website like CNN, CNBC work ?

Hi All, I wanted to know how does behind the scene technology works when we see stocks streaming on websites like CNN or CNBC. I believe its an applet but would highly appreciate some detail explanations. Thanks. ...

Managing the amount of visitors...

Here at SO there's a lot of focus on designing web applications but I seem to be missing something in all these discussions. It seems as if everyone is focusing the design of their site to allow lots and lots of visitors to visit it, thus putting a huge strain on the server. But what if someone is designing a site just for friends and fa...

Put or Post for Email Form with Log Attachments

Hi i am writing a restful webapp using Spring 3. Part of the app is a form which when submitted triggers the sending of an email with various application log files attached. I'm not sure whether i should handle this form submission as a 'POST' or a 'PUT'. My issue is that structurally the process would seem to be idempotent (and there...

Separation of static and dynamic content in J2EE applications

We work with IBM products and we typically use IBM Http Servers (read Apache) as a reverse proxy for our application servers. For performance reasons we serve static content (.gif, .jpg, .css, .html etc.) from our http servers, to ease the burden a bit from the application server. So far, we have to distribute files to http server and c...

Synchronizing online game state via AJAX or RPC

I'm trying to find a way to synchronize game state in a browser based game. I've been using Google Web Toolkit, but I think my question pertains to any AJAX or RPC framework. As for my "game": think chess, but where you need to move the chess pieces in real time; if player 1 moves (drags and drops) a piece to a new location and player 2...

Application pool restart automaticly if file change in repositery

Why does the application restart automatically when we create a new folder under a web site in IIS 7.0 or Cassini? Is it a config we can change ? What is the impact ? I read this post and the post not answer to my question ...

How to embed HSQLDB in file with Spring to a WebApp

I have a webApp whit Spring and works correctly when I use HSQLDB in server mode but in file mode it only passes the unit test. This is my data source: <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> <property name="driverClassName" value="org.hsqldb.jdbcDriver" /> <property na...

Any thoughts on Multi-tenant versus Multi-database apps in Rails

Our app currently spawns a new database for each client. We're starting to wonder whether we should consider refactoring this to a multi-tenant system. What benefits / trade-offs should we be considering? What are the best practices for implementing a multi-tenant app in Rails? ...

SMS/Text message sending via PHP

I'm interested in knowing if it would be at all feasible to be able to send text messages via PHP. The main purpose of which would be to send a single message to a group of people - 10+ - with updates regarding news and such. Preferably the solution should be free, though it is not a necessity in any way. Thanks to all in advance. ...

Is concurrent computing important for web development?

Let's say I have a web application running on S servers with an average of C cores each. My application is processing an average of R requests at any instant. Assuming R is around 10 times larger than S * C, won't benefits from spreading the work of a request across multiple cores be minimal since each core is processing around 10 requ...

How do I get started building web apps with Java?

I want to start web developing with java. I don't know how to start, what to learn, or what is the best web framework to learn and use. Help me out? ...

Is it possible to use IMAP + paging?

Hi, I have a Requirement to make an IMAP client as a Web application I achieved the functionality of Sorting as: //userFolder is an Object of IMAPFolder Message[] messages = userFolder.getMessages(); Arrays.sort(messages, new Comparator<Message>() { public int compare(Message message1, Message message2) ...

how do i add the sort extension to the IMAP server ?

Hi, If we do own a Mail server supporting, how is it possible to add a sort extension to it ? Also how is it possible for a client using java mail to check if the server does indeed support the Sort extension ? ...