Hi crew,
I'm searching for a tool, which converts a jsp file into a java file without using a server like tomcat or something else.
Can anyone help me out?
I have one SDK that is available in Java and another SDK that is available for .Net and would like to write a single application that interfaces with both of them. I imagine I will need to use a cross platform communication framework that can support named pipes (or other in memory communication), what is the best choice?
After some more research I found Hessian -- does anyone know anything about the maturity of this project?
I see many similar questions, however I want to find the Username of the currently logged in user using Java.
Its probably something like:
System.getProperty(current.user);
But, I'm not quite sure.
I want to add a ctrl - clic kind of listener to a custom javadoc annotation in eclipse java editor, thus I want to be able to move the focus to a specific place when the use ctrl - clic @customJavadoc annotation.
I want to make Java JDialog appear like it is presented in the [Image][1]
[1]: http://lh4.ggpht.com/_AnzmYq61hHI/S8RTAznktKI/AAAAAAAAAW0/c4HVCuchdjc/s1600-h/saveConfiguration%5B2%5D.jpg using JDK 6 Swing. Is it possible? if so kindly guide me.
Image Link
In C# you can easily read all classes from a given assembly.
I'm looking for equivalent feature in Java. I need this to automatically bind EJB beans to my Guice Module.
Is it possible to write objects in Java to a binary file? The objects I want to write would be 2 arrays of String objects. The reason I want to do this is to save persistent data. If there is some easier way to do this let me know.
Thanks in advance!
Is there a simple way to have your "Service Layer" deployed separately from your web layer, so that I can reduce the number of times per week that I have to, package, build and deploy the entire WAR file?
I'm using Tomcat mostly, but I'm hoping for something more generic to Java web servers
Hi,
After I read Bloch's discussion http://www.infoq.com/news/2010/04/bloch_java_future
I started to think about "Do I have to switch to scala for new web developements" or is java preferred in all cases. What is your opinion ?
Thanks,
Does anyone know of a tool (besides Eclipse or any other IDE) that I can use to find unused imports in a Java source file?
I am looking for a command-line type of tool (to integrate in a larger script).
Thank you.
I am facing a problem with my singleton when used across multiple class loaders. E.g Singleton accessed by multiple EJBs. Is there any way to create a singleton which has only one instance across all class loader?
I am looking for pure java solution either using custom class loader or some other way.
Learning just another language is not much work. However, getting familiar with all the supporting libraries is veeeery expensive and actually you cannot go too far without that.
Would you consider a worthy career investment to learn java once you already are an accepted professional of .NET or you would rather invest the same amount of energy to get deeper in the things you already know?
I'm trying to recompile a project I've been working on and I keep getting an error message when trying to load a property file:
The system cannot find the path specified.
I guess this has to do with the classpath. But I've added the path to the file in Properties- Java build path- Libraries (external class).
I also checked the .classpath file generated by eclipse, and the path is really there!
Why isn't Eclipse looking at the right path?
I haven't found many ways to increase the performance of a Java application that does intensive XML processing other than to leverage hardware such as Tarari or Datapower. Does anyone know of any open source ways to accelerate XML parsing?
Need: Output a Java application's log into a GUI component, such as a JTextArea.
Concern: Need to log things from any class, in a static manner. However, the GUI logger component must not be static (obviously) as it's the member of a parent component.
What should I do?
Hi.
I wanted a thing like I declare a variable: String a = "test";
And want to know what type it is, i.e., the output should be java.lang.String
thanks in advance
In .NET you can achieve something like this:
Color yellowColor = Color.FromName("yellow");
Is there a way of doing this in Java without having to resort to reflection?
PS: I am not asking for alternative ways of storing/loading colors. I just want to know wherever it is possible to do this or not.
Hi all,
I need to create daemon that will monitor certain directory and will process every file that's written to that particular path.
My choice is either java or python.
Did you guys have any experience using both technology? what is the best one?
Having played with Linq (to SQL and Objects) as well as the Entity Framework from Microsoft recently, I was wondering what the non-.Net (specifically Java) equivalents are?
Hi,
I would like to know if you have any good books that teach C++ programming without repeating basic stuff. In fact, I already well know Java and C#. I also have a basic knowledge in C and assembly, so I understand a little bit pointer arithmetic, manual memory management and heap based allocation. I was looking at O'Reilly's C++ in a Nutshell and was also wondering if this book would be a good choice.
Thank you
Why is it that in Java, a superclass' protected members are inaccessible by an indirect subclass in a different package? I know that a direct subclass in a different package can access the superclass' protected members. I thought any subclass can access its inherited protected members.
I'm a .NET developer learning Java EE. These two concepts seem to serve the same exact purposes in either system.
So which framework gets credit for inventing them?