The services defined in my jboss-esb.xml refer to properties from the SystemProperties service.
When I change a property in the properties file (ie, /conf/my-props.properties) I can reload them using the SystemProperties MBean. I am unsure, however, how to get the services to reload using the new properties without redeploying the esb ...
On my brand new Windows 7 machine, I downloaded Eclipse (Galileo) and several Eclipse plugins (Android's ADT plugin, Subclipse, etc.)
After rebooting, neither of these plugins are showing up in the IDE (nothing in the preferences, menus, etc.) but if I click "Installation Details" in the 'About Eclipse' popup, I see all of the plugins l...
any example on using memcache/general cache with jpa entitymanager on JGAE? or the only way to do it is manually put/set memcache on service layer?
...
In my project I have 2 packages.
images - contain images and
notification - contain java files
In notification/main.java I get Image object from image using this code
Image image = Toolkit.getDefaultToolkit().getImage("/images/key-16x16.png");
and I can't get image.
How can I fix this bug.
...
AJAX is a very powerful tool so I am struggling with it :-).
Is there any way or API(in java) so that I can get the HTML code which is generated by AJAX?
Generally, AJAX make use of inner HTML code and hence this inner HTML code is missing when I look into the page source of a page.
e.g click here
Just see the section OTHER NEWS....
I want my client class to run a thread that sends String information (order) to the server continuously every 5 sec. But instead thread is destroyed after it sends first order. I dont know why and how to stop it, can somebody help me?
below code;
public class Cashier implements Runnable
{
private static final int MAX_DELAY = 5000;
...
Hi
I'm creating a project in Java using XCode 3.2.1.....
But it is giving an error 'Build.xml does not exist'. The file is present in my build folder...... What should I do???
...
I created a new project and a new class in eclipse in my ubuntu machine to write the simple Hello World program. It works fine as long as i write the main method and use System.out.println to print my "Hello World". but i want to use the acm.jar package so I imported it to my project and tried to extend the ConsoleProgram class in acm.j...
Hi everyone...
I have a project fir my "Operating Systems". I need to write 2 program with java...
1) write a program that produce Water with 2 method Oxygen and Hydrogen.
method Oxygen produce one Oxygen and method Hydrogen produce one hydrogen. when 2 Hydrogen and one Oxygen was existed H2O created. I must write this with with Semaph...
I have a property, app.version, which is set to 1.2.0 (and, of course, always changing) and need to create zip file with name "something-ver-1_2_0". Is this possible?
...
See Related .NET question
I'm looking for a quick and easy way to do exactly the opposite of split
Someith that will cause ["a","b","c"] to become "a,b,c"
Iterating through an array requires either adding a condition (if this is not the last element, add the seperator) or using substring to remove the last seperator
I'm sure there i...
Hi,
I am trying to use a class which extends JFrame to build a GUI.
ex : class Deck extends JFrame
The GUI is built in its constructor.
Now when I extend Deck from another class,
ex : class Pile extends Deck
New windows are being created whenever an instance of the subclass (Pile) is started.
Is this happening because the subclass...
Hi,
Please best practice and 'how to' for using enum with jpa as a data member of persisted entity.
what is the best practice?
I want to persist "C", "O" from enum. (codes). If this is not the correct approach please suggest.
Enum defination is --
public enum Status{
CLOSED ("C")
OPEN ("O")
private final int value;
private Status(fina...
Hi
We use eclise 3.2.1. While trying to install PMD with the instructions given in http://www.eclipsezone.com/articles/pmd/#howtouse, i am getting the following error and could not able to install it.
"Network connection problems encounterd during search".
But the internet is working fine..what could be the problem? Please suggest so...
I have an interface & its implementation class in the same package. I using javac in commandline to compile them. I am able to compile the interface class successfully, but when try to compile the implementation class after compiling the interface class, I get the error - Symbol not found. However, as both the interface & its implementat...
Is it possible to use hibernate search/lucene to index some entity based on values of some fields?
For example, let's take the following example: A product has several properties with values.
e.g. property names could be color, amount, order-date, price, whatever...
PRODUCT (
name
description
...
)
PROPERTY (
id
nam...
What is the difference between Declarative and Bluprint Services in OSGi? as both are aim to achieve Dependency injection in osgi.
Is blueprint services is alternative to declarative services?
or bluprint services fills the limitations (if any) of declarative services?
...
I have an MS-Access database ( A English-telugu Dictionary database) which contains a table storing English words and telugu meanings.
I am writing a dictionary program in Java which queries the database for a keyword entered by the user and display the telugu meaning.
My Program is working fine till I get the data from the database, b...
I have an AXIS servlet which deployed on an apache tomcat server on windows.
I wrote a web service which I want to run on AXIS.
When I want to deploy my web service, I make a jar file from the classes, and then I copy them to "axis\WEB-INF\lib" directory. Then I deploy the web service using a wsdd file.
My question is - how can I pass ...
I have define a Spring bean.
<beans>
<bean id="remoteService" class="edu.wustl.catissuecore.CaTissueApplictionServicImpl" />
</beans>
Is there any way to get the IP address of client in this class? Similarly as available in the servlet request.getRemoteAddr();
...