Re: Data::Dumper for java



On Apr 6, 9:35 pm, ed.pesc...@xxxxxxxxx wrote:

yes, if you can get that ability inside of jdb, let me know. And I
don't have access to x11 on the place where I need to run the code, so
if you know how to run code on a server, serialize input and output
via an ssh shell, and get the output into an intellij/eclipse IDE, I'd
love to know that too. Use an IDE is great as long as you have access
to an IDE.

Unless I'm mistaken remote debugging and remote profiling in Java
can easily be done from your IDE / Debugger / Profiler. You can
connect to a remote headless server.

For remote profiling it's trivial, I do it regularly.

This is really one of these area where Java shines
compared to other languages. It's not that "Java the
language" is that great (it's OK but it has a few
warts) but the APIs and 3rd party APIs are great and,
most notably, "Java the virtual machine" is a wonderful
piece of engineering.

Google for JVMTI (since 1.5 AFAIR):

http://java.sun.com/javase/6/docs/technotes/guides/jvmti/

Note that I'm not saying there's no use for what your
asking: what you're asking still looks like a good idea.

But to do "remote debugging on a headless server", there's
really no need to "run the code on a server,
serialize IO via an ssh shell, and get the output
in an intellij/eclipse IDE" [sic].

That's the kind of hackery needed with other, less
well-tought, technologies.

You're talking about SSH so if security is an issue you
can always tunnel the port(s) used for remote debugging/
profiling using SSH.

Charles.
.



Relevant Pages

  • running olwm under a VNC Xserver?
    ... I'm attempting to use Java on a remote Sun Station. ... But the "preferences" pop-up in OLWM does... ...
    (comp.unix.solaris)
  • Re: Remote Desktop and Java Application
    ... We use a Java application to update some database records. ... The problem is that the menus in the Java application do not work ... I had other remote desktop software installed previously and I think ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: distributed computing choices
    ... RMI (Java) ... CORBA ... communication models (e.g. remote procedure call/ remote method invocation) and implementations. ...
    (comp.distributed)
  • Re: Calling javascript functions from a java application
    ... to try and hook into it so i can retrieve data in a more efficient ... I don't believe this is possible because the remote resource will ... When Java uses a built-in browser, ...
    (comp.lang.javascript)
  • Re: ANN: RealThinClient components (full source code for Delphi and BCB) > available now
    ... The RTC Core is now a basic component set for remoting and web development. ... It mostly compares to something a Java developer is used to having at start, ... since you write server-side code for processing requests and execute remote ... > link to Remote Functions written with RtcFunction? ...
    (borland.public.delphi.thirdpartytools.general)