j2ee

Good Book for J2EE design Pattern

Hi All, Looking for some suggestion about a good refrence book for J2EE design pattern.I do have knowledge about some patterns but not that much so looking for a good Refrence material. any help in this regard will be much helpfull Thanks Umesh ...

Accessing services on web sites other than the web start clients own domain?

I am working on a web start client in java. I need to connect to other servers than from were the client is downloaded from. I thought I need to sign my jars but this (http://download.oracle.com/javase/tutorial/deployment/deploymentInDepth/signing.html) document describes that: Accessing services on web sites other than the RIA's ow...

Generic Question about Application Design

Hi All, In the process of development of a web-application we have everything in place in module way like we have our action classes which are responsible for intracting with the View Business component as well as Persistence Component and every component is well tested and working fine. My Question is what is the best way to integrate...

how to stream live audio video using java j2ee?

I wanted to stream live audio & video from one client to another over the internet, iam using websphere community edition as my server, and iam supposed to do this task using java j2ee technologies. iam doing this as a part of the project for IBM TGMC. pls suggest which particular api or tech is best suited for my purpose? i googled out...

action-servlet ?

Hi all, I'm new to Java WEB Development please help with this !! my link in the action-servlet is http://myproject.co.in:9090/a/userSignUp.action i got a new user registration page and i have given an action for the log in button.. but if i click the button its redirecting to this page .. please help and thank you for your tim...

How to save ice:panelpopup renedered after refreshing page in icefaces?

In http://www.icefaces.org/main/downloads/os-downloads.iface after log-in when clicking any download link a modal panelpopup will open ,and if the whole of page is refreshed the modal popup still opened,how that?! ...

How to deploy a JEE application in the Amazon cloud?

Here's the thing: I need to take a certain JEE webapp and deploy it to Amazon EC2 (which I will need to setup first) starting next month (using the http://aws.amazon.com/free/faqs/ AWS Free Tier Usage - hope it supports Tomcat + MySQL/PostgreSQL). The problem: I have never ever deployed a JEE app (not even a normal one on a dedicated hos...

Url Encoding problem in Java and Solr

I am working in Solr and making some filter quires. One of my filter is consists of a space for eg:- "fq=listing_type:New home" But this is giving error. No result is comming out. I also tried "fq=Listing_type:New+home" This was not giving error. But no results are comming out. Event there is some xml which have thse values. Can anyon...

javax print vs java awt print api

Can i use java awt print to print a document/file instead of using javax print? I could find that in java awt print there is an option to set the content to be printed only as string using AttributedString. Is there an option to use awt and print document/file from input stream instead of String? ...

Printing in Java using PS file

The have a generated post script file and i want to print using it. How can it be achieved in java either using java print API or awt. Is it possible? ...

How to test fileupload using SOAP UI

How to test fileupload using SOAP UI. There is a service which accepts file as input I want to simulate that using SOAP UI It gives me . content should be inline . ...

How to load a properties file in J2EE app with Tomcat

I am debugging in Eclipse and Tomcat - and I want to load in a property from a file called foo.properties. The file is stored in src directory, like so: The following variable is always null: java.net.URL url = loader.getResource(propFile); which is becaue (I am guessing) the ClassLoader could locate the foo.properties file. The ...

How to store authentication credentials for legacy systems in a J2EE container?

I need to store authentication credentials for legacy systems in a J2EE container (IBM WebSphere Application Server Network Deployment 6.1). These legacy systems are accessed using an HTTP interface, but it's not a Web Service. The idea is to query these credentials using JNDI (or some other mechanism) and then use it to authenticate in ...

Which is the best way to access COM interfaces from a J2EE server?

Are the available Java-COM bridges like j-Integra, com4j and Jacob and others suitable to be used in a J2EE container? Which one is the most appropriate for that use? I need to evaluate the risk of JVM crashes, native memory leak and unmanaged thread creation (since it's not recommended in a J2EE container that uses thread pools) for the...

Where can I find RefFSContext source (from fscontext.jar)

I've downloaded glassfish source code but it's not in there. People used to point at http://java.sun.com/products/jndi/index.html#download but it seems this link has disappeared. Any idea ? Thanks ...

J2EE containers allow direct server sockets?

Hi, I have a question, that may sound strange. I am interested to know if J2EE containers allow to the applications deployed, to open direct server sockets (by-passing essentially the container) for their own purposes. I know that it is strange to want to do that, but the reason I am asking is because, I have read that a javax.xml.endoi...

change maven j2ee deploy name

hi, I'm developing an app in maven and it's deploy name is concatenation of artifactId + "_" + groupId + "_" + "packaging" + "_" + version which is pretty ugly. And I'm lookuping for an EJB and I would need to change the uri after eventual version change. Do you know how to change this deploy name? I'm deploying it via netbeans. ...