web-applications

Java Web-Application deployment and initialization

Hi all, i'm developing a web-application for managing and sharing images and more general media-types at all. My technology stack is: Java 6 Spring 2.5x JPA 1.0 JCR 1.0 with Jackrabbit 1.6.x ACID-able DB like Derby oder MySQL with InnoDB Porting to Spring 3.0, JPA 2.0 and JCR 2.0 is in the queue During deployment i have to provide ...

What is the difference between a Web Developer and Web Application Developer

My understanding is that a Web Application Developer is a class of Web Developer who can build and maintain web-based applications as well as just web sites - as a regular Web Developer would do. Am I correct in my thinking or is there anything else someone would like to add? Cheers Iain ...

Tomcat per webapp memory settings

I am having two webapplication running inside tomcat. Java Heap space is allocated for Tomcat and it is shared for both appliaction. In that one application consumes more and other is getting OUT_OF_MEMORY. Is there any way to set memory settings per web application. Say 70% for one webapp and 30% for other from the overall memory allo...

Clearing label in ContentPage without postback

I've got a bit of a problem. My application communicates with BizTalk to extract data from a database, passing in a key value from the UI which is used for the look up. I have a couple of regEx checks in the UI to make sure that the user enters a correctly formatted key value. If they don't, any input errors is caught in the UI-validatio...

Get Application Server name or ip and port in Java

We would like to identify and display the server and port that a Java application is running on that is behind a proxy web server. This means that getServerName() and getServerPort() return the server name of the proxy and its port (80). We have two application server instances running on a single physical box and therefore have two act...

How can I obfuscate a Symfony PHP Web App?

Hello, I am looking to distribute a symfony web app, but don't want to reveal its source code. I know it is tough to obfuscate PHP, but I was wondering if there are any closed or open source solutions to obfuscate and/or encode the backend code so that someone receiving the app can run it but wouldn't be able to view the source code? ...

iPhone Web App disable cache

Hi, I have an built an iPhone webapp using PHP. The main (and only) page includes the apple-mobile-web-app-capable and apple-touch-fullscreen meta tags so that it can run fullscreen once added the the homescreen. However, it seems every time I launch the app from the homescreen, the cache version of the page is used instead of refreshin...

Read contents of a file using a relative path in a Web Application

How can I read the contents of a text file in my Web Application, using a relative path/URL? The files are located in a directory at the root of my application. I don't want to specify the full path to the file I want to access, since my test environment is not an exact mirror of my production environment. ...

How should I be configuring spring and hibernate so that my Integration Tests replicate properly the behaviour of the Web application ?

We have a web application based on NSpring 1.2 and NHibernate 2 and use HibernateTemplate. The web application is configured to use OpenSessionInViewModule. In our integration tests however the hibernate session is marked as InitDeferredClose and for the most part this works fine for our tests. There are some service functions that w...

Create folder and files on remote server from web application

Hi! I have a C# web application and want to create a folder and files on server placed in the same DMZ. I do impersonate, the LogonUser succedees. But I get an error when I try Directory.CreateDirectory(directoryname); The error says "Access to the path \server\folder\folder" is denied." & "ASP.NET is not authorized to access the request...

Resources of designing a website permission scheme

I am developing a site that needs an access permissioning scheme. I am uncertain how I want to structure the scheme, and I am having a hard time finding good resources on determining not just how to implement a permission scheme, but how to plan what the scheme should be capable of doing. I have lots of questions and not a lot of solid...

What Java-Web-Framework to use if JSF is oversized?

Hi, we think about to move a project from PHP to Java. It's a small web application with about 5 pages. We have JSF-experience, but i think JSF will be oversized and too cumbersome (we will massivly make use of JS). What can you recommend? GWT? ...

My program needs to access information (key/value) from my hosted server. What web architecture would be best for this?

My program needs to download object definitions (basically xml files, maybe binary files) on demand via the net. The program will request objects from my server during runtime. The only thing the program has to send the server is a string that identifies the object it needs (e.g. RedCubeIn3DSpace23). So a basic Key, Value system. My app ...

Taking the next step with java development?

I want to take the next step in java web development, I am hoping to get insight & feedback on: what my next steps should be and how best to take them. While learning the basics of java web development, I put together a simple web app that performs simple accounting and financial calculations. The web app is on a single jvm, uses Tomca...

Chrome Application Shortcuts / Mozilla Prism Installer

I want to deploy a installer package to my customers. My application is basically a website, but I want them to have the optimal experience via. Chrome or Mozilla Prism. I would like to give them an installer (win:msi/exe) that puts an icon on the desktop and launches my app. They may or may not have chrome and Firefox already install...

Hosting poor performance versus local debugging performance

Don't know if anyone alrealy had this problem before but if yes, can you tell things we can try to do on server; We've gettin' something like 2 at 3 more times to execute an HTTP request on a hosted application comparing to the same local application (on debug). But if we trace between preinit and rederer, on host (release),we've gettin...

Brand new to gwt

Can you go from module to module with gwt. For instance when you click to submit login information can you get rid of that ui and go to a new ui for whatever your app happens to do? Also are there any books or tutorials anyone recommends? I have a good understanding of how the ui structures work, but am confused when it comes to things...

Is there a way to map an URL to another URL in Spring?

In Struts 1 you could have, in struts-config.xml, a declaration like: <action path="/first" forward="/second.do"> Is something similar also possible in Spring, or can I map an URL only to a controller? I am using Spring 2.5.x. I could off course map the URL to the same controller as: <bean id="urlMapping" class="org.springframework....

Creating picture gallery

I want to create a gallery of pictures for my website and upload those pictures from the administration panel of the website. I am going to show all pictures in a page with a very small size, and one place I will separate for each picture to show the selected picture (from small ones) with big size. I know two ways of doing that: I c...

What PHP framework is most similar to Apache Wicket?

Feature I'm looking for is being component based but not event driven. I also like the idea of defining component in his parent code but describing its placement and some visual aspects in the template of his parent. ...