I have multiple (8) WAR files and 1 EAR file that I want to deploy to Glassfish without having to redeploy each application through the Admin Console.
Previously in Tomcat the WAR files could just be dropped into the webapps directory, is there something similar for Glassfish? Using the asadmin command to grab a bunch of apps to dpeloy?...
Hello,
I am building a small web crawler and I was wondering if anybody had some interesting info on the actual implementation (just crawling, no searching, no ranking, no classification, just crawling, kiss :).
For the record, I already have the O'Reilly "Spidering hacks" and the No Starch Press "Webbots, spiders, and screen scrapers"...
Let's say I have a Farmer class, and a Farmer has a collection of Pigs.
If I use an ORM like Hibernate, I can cascade updates to a Farmer's Pig collection, such that I can do something like this from my controller:
Pig pig = new Pig("Charlie");
farmer.addPig(pig);
farmerService.save(farmer);
My farmer service doesn't know anything ab...
Does any one nows any e-learning solution that I could use into my site ? I'm trying not to create something from scratch. :-)
UPDATE: Is there something like http://www.knewton.com/ ? Or even close to that ?
...
I've been working with asp.net MVC and am still not very good at it. However, I have started wondering how would I go about creating applications that can be "plugged" or installed into an existing ASP.net MVC site with minimal complexity.
For example, in ASP.net web forms I developed a sort of Blogging app. In order to install this ap...
I am using a new service to pull xml data from a server.
The service provides two methods of logging in, one via a url query:
http://<server>/login.asp?username=<User Name>&password=<Password>
and the server returns a cookie valid for 7 days. This means instead of logging in for every query (and making my script less effici...
I'm working on a web application using Spring MVC 2.5. I'm using Eclipse as my IDE and deploying to Tomcat 6.
I'm concerned that I don't understand how sessions work in Spring, and was wondering how I might go about monitoring session status. I know that Tomcat has various monitoring capabilities, and I can even turn them on in Eclips...
In poll sites, a user (not logged in) can vote on a question only once. How does the web app 'remember' that the user has already answered a particular question?
one way is to set a cookie for every question she answers. another way to save the question id in the session. we could also store the value in a db, along with the session ...
Hello,
I'm building a web application with Django. The reasons I chose Django were:
I wanted to work with free/open-source tools
I like Python and feel it's a "long term" language, whereas regarding Ruby I wasn't sure, and PHP seemed like a huge hassle to learn.
I'm building a prototype for an idea and wasn't thinking too much about t...
I've got a series of ModalPopupExtenders that I'm using to implement popup dialogs on an ASP.NET 2.0 page.
When they popup it's fairly easy to specify the location where they appear using the constructor using X and Y coordinates but I'm unsure how to deal with changes of window size which alters where they should be in cartesian space....
In my web app I have a chatroom. I wish to have each user's name to be colored differently rather than having them all black. What is the best way to achieve this? Should I store the RGB/HEX code for each user as they sign up to my app and put that string as a field as part of their record in the database?
...
I am interested in knowing if there are any server-side web application frameworks which integrate nicely with CouchDB? Does anyone have any experience in doing this? It seems like a dynamic language would be well-suited for playing with the JSON, but I am more interested in hearing about how it would fit in with the framework and the ap...
Assume you have an html form with an input tag of type 'file'. When the file is posted to the server it will be stored locally, along with relevant metadata.
I can think of three ways to determine the mime type:
Use the mime type supplied in the 'multipart/form-data' payload.
Use the file name supplied in the 'multipart/form-data' pay...
At work, I have access to many appliances ranging from DataPower to Cisco to F5 and so on. Each of the user interfaces for configuration seem to have a different layout where on some the navigation is on the side while on others it is on the top.
How do usability guidelines vary based on whether something is a user website vs something...
Before we sign up for any hosting company to host our app or pages, i think it probably is good to find out the speed so that if it is too slow, we may as well pay a little more to find a better place to put our app. the question is, is there a way to find out some sites that a hosting company is hosting and what is the best way to test...
I am using a javax.servlet.http.HttpServletRequest to implement a web application.
I have no problem to get the parameter of a request using the getParameter method. However I don't know how to set a parameter in my request.
...
I am getting the following error when I try to call an ASP.NET Web Service from an ASP.NET Web Application. I believe it is because the Web Service and Web Application are on the same Farm/behind the same Load Balancer.
A connection attempt failed because the connected party did not properly
respond after a period of time, or establish...
Has anyone been able to get Oracle Forms running JInitator to loan in Internet Explorer 8 yet? I have tried removing all add-ons, various version of Java, add the domain to the trusted sites using wildcards, and using compatibility mode to no avail. I am looking to get our Oracle guys to kick there Internet Explorer 6 habit. This is r...
I have plenty experience creating ASP.NET Websites in the Visual Studio. But there is an alternative way to do the same thing that is through Web Applications, which have slightly different file structure.
Since I created my first Web Application I couldn't use classes (.cs files) in the App_Code folder anymore, they were not seen by th...
I've been working on a Java web application where the framework insists that everything is Serializable. I assume that this isn't specific to the framework but to web applications in Java in general and my question is: what is the framework / server / whatever doing that is serializing things? Does it have to do it?
Note: I don't know...