j2ee

WebSphere Applicatin Server free edition

Is there WebSphere Applicatin Server free edition available for non-production usage. I don't mean WebSphere Applicatin Server Community edition, which is WAS bannered Apache Geronimo AS. If making no mistake i had seen it somewhere on IBM DW site, but can't locate any more. Thanks a lot! ...

How can I share common components between Java web applications?

Environment IDE: Netbeans 6.9 App Server: Glassfish 3 Frameworks: Spring, Hibernate, Struts 2 Problem I have 2 web applications. I want to share resources between them both - i.e. authentication form jsp and other assets (js - yui,jquery/images/css). I will be adding more web applications that will also require access to these commo...

tomcat server response after continuous interval ?

i want in my j2me application that a server check a table in database and send response to the application after some time.I am using Tomcat as server. Any suggestion how and what way i will implement it ? ...

Dynamic Junit Test

Hello As part of my study final project I have to make a J2EE application that allows users to run JUnit tests(without any experience what they have to do is to click and see the result), obviously it must be some way to modify tests and create new ones (upload new test files ...) could you point me to the right technology which allows...

What jar file does liferay mail engine make use of

Please could someone tell me what jar Liferay Mail Engine makes use of. I have already done an import like this import com.liferay.util.mail.MailEngine; but it does not seem to be importing anything. ...

How to have a login page outside the war file?

My web application has a login-config such as this: <login-config> <auth-method>FORM</auth-method> <realm-name>Some_Realm</realm-name> <form-login-config> <form-login-page>/login.jsp</form-login-page> <form-error-page>/logerror.jsp</form-error-page> </form-login-config> </login-config> This project is now a part of a group of web apps...

Eclipse and JBoss not refreshing or rebuilding.

Hey guys, I'm having this problem in eclipse (EE) when I change things in my code (even something as simple as the text I'm printing using println) it doesn't get applied. I'm using JBoss and when I rerun the servlet, nothing happens. Any idea how I can force JBoss/Eclipse to do this? I can't preview anything so it's really annoying if...

project idea on j2ee

i am going to build a web based application using j2ee. can you please suggest me some ideas about what to do? ...

Logging to server log on deploying a war file

Hi, I am using Jboss. I need to log "War file deployed" to server log when a war file is copied to jboss/server/default/log directory.( this's not related to jboss but still ... ) I am aware of one way to do is, i.e to have a servlet and overload the init methods, to log onto server log. The requirement is -> as soon as a war file is ...

Open source for J2EE presentation framework

Hello Experts, I am going to create J2ee based project, in which lots of GUI work is involved, like creating tree and drag and drop of objects (like routers and switch) kind of thinks. I would like to know is there any open source is available, with whom i can do rapid j2ee GUI development. Thanks in advance. Regards, Aj ...

How to handle HTTP status 404 and redirect the user to a different page on application re-deployment

When the application is loading on a EAR re-deployment you get a 404 error, how do we trap this issue and provide a user friendly message to the end user accessing the application. HTTP Status 404 - /myapp type Status report message /myapp description The requested resource (/myapp) is not available. JBoss Web/2.1.3.GA ...

When do you need to use separate domains in Glassfish?

If you want to host multiple, fairly independent applications on a Glassfish server, do you need separate domains? In particular: Can applications in the same domain interfere with each other in some way? Can different apps in the same domain listen on different IP addresses/ports? If so, when/why would you actually use a separate do...

Dynamically adding certificates to "truststore" in J2EE

I have a webapp which receives a certificate request through upload via a servlet (non-ssl). The CSR is signed by the webapp, and sent back to the user which installs the certificate in their browser. Now, how do I make the servlet container accept HTTPS connections with the newly signed certificate? As far as I know, the signed certi...

Proxy for test automation and eventual regression testing, or other ideas

I was wondering if anyone could recommend some existing software for working around a slow shared mainframe that is being connected to in a testing and development environment. Recently I've been refactoring some webpages that are dependent on this server, and I'm stuck with massive delays from making the same queries. Ideally I want t...

Is Grails a viable option for large scale enterprise web apps?

Coming from a J2EE dev background, I love the idea of Grails....all the benefits of using enterprise Java (Spring, Hibernate, etc. ), but with the simplicity of Rails (scaffolding, convention over configuration, Groovy scripting, etc.). My company is considering rolling out a new enterprise scale web application built on top of Grails. I...

Struts2 modifying an object with arraylist of objects.

Hi, I have an object in my Action class which contains an arraylist of objects internally, I am trying to create a CRUD screen for this object. My Action Class and bean are given below, /** * @author rohit * */ public class IRFeedMgmtAction extends ActionSupport implements ModelDriven<IRFeeds>,SessionAware,ServletRequestAware { pri...

ASPX / c# vs J2EE

hi everyone, I am supposed to create a intranet web application and the question is what technology I will use? is that the ASPX with C # or the Java EE. in any case I want to know the great advantages that I will receive. Thanks ...

How to duplicate liferay portlet

I have a custom portlet that I added to Liferay. I am looking for a way to duplicate the portlet, make some very little changes on it and use it on another community i.e. I want to be able to see the two portlets when I login as super admin and click on the add application link. Does anyone know an easy way of doing this? ...

case-insensitive search in EJB QL

Hello, This looks really simple and I can't believe I haven't found a solution myself. I have a bean named PersonBean, which has a name. Now I want to write a finder method that takes a string and looks for people with that string in their name, case-insensitively. Here is my current EJB QL: SELECT OBJECT(p) FROM Person p WHERE (p.name...

How to get permission's role with seam

Hi, I need in my application to get all permissions associated with a specific role with seam ? I tried with permissionManager.listPermissions but this method gives permissions associated with a specific target and not a specific recipient (role in my case). Thanks for your help. ...