greptilian logo

IRC log for #javaee, 2013-09-29

Please see http://irclog.greptilian.com/javaee for which days have been logged.

| Channels | #javaee index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
06:07 zhee_sharp joined ##javaee
06:07 zhee_tuxer joined ##javaee
06:07 zhee_sharp left ##javaee
06:46 zhee_sharp joined ##javaee
07:20 manish_chhabra joined ##javaee
11:05 kinabalu joined ##javaee
15:06 kinabalu joined ##javaee
16:33 toshiba joined ##javaee
16:33 toshiba hi friends
16:34 toshiba I want to know whther TSR supports java?
16:36 tjsnell what's tsr?
16:37 toshiba terminate and stay resident
16:37 sfisque is it 1989 again?
16:37 toshiba i don know what is 1989
16:40 tjsnell what OS is that?
16:44 toshiba windows I need
16:44 toshiba do not need for linux/unix
16:44 tjsnell just run it as a service
16:44 sfisque i was being snarky.  i did not know anyone was using TSR since the 80's
16:45 sfisque it's kind of unnecessary with pre-emptive multitasking OSs
16:45 sfisque TSRs were invented for DOS
16:47 toshiba hmmm...
16:47 toshiba so if I want to run any program to check some process...I can do that thru service;right?
16:48 sfisque i would start as a standalone app.  and then make the necessary mods to turn it into a service
16:48 tjsnell that sounds an odd task for java
16:49 sfisque depends.  if the target process is also java, then the monitor would have an easier time "talking" to the target
16:50 toshiba and if the target is not java?
16:51 tjsnell what use java for this task?
16:51 tjsnell seems silly
16:51 toshiba means?
16:51 sfisque depends tjs.  if he's doing it from a "learning" standpoint, it's not silly
16:51 toshiba if the target process is not java...
16:52 sfisque you're dropping an unnecessary judgement
16:52 toshiba can not I monitor that?
16:52 sfisque you can
16:52 tjsnell no, it's a task ill suited for java
16:52 tjsnell not a wise learning choice
16:52 tjsnell there are better ways to learn
16:52 sfisque by that argument projects like opennms should not exist
16:52 tjsnell no
16:52 toshiba man I m not doing that for learning
16:52 sfisque let THEM decide it
16:53 tjsnell java was well suited to the task for opennms
16:53 tjsnell I'm not forcing him
16:53 tjsnell he is deciding
16:53 toshiba I am new in thi area....
16:53 tjsnell I'm giving my opinion
16:53 sfisque aye but that wasnt asked for
16:53 toshiba that's why asking the workarounds
16:53 tjsnell so
16:54 sfisque to answer your question tosh, what are you trying to achieve.  are you monitoring whether this process is running, whether it's healthy? whether it's responding to some status?
16:54 tjsnell I don't help people make what I deem bad choices, I try to help them make wise choices
16:54 toshiba is opennms another layer between java and monitoring the processes?
16:55 sfisque neg, just an example of something that java is not very suited to do (it requires a JNI binding because java cannot do somethings an NMS requires)
16:55 sfisque but back to your question tosh.  what kind of "monitoring" are you trying to achieve?
16:56 toshiba need to scan some of the processes
16:56 toshiba kinda antivirus
16:56 tjsnell having used to have a primary opennms dev on my payroll I'll just say... hahaha
16:56 toshiba need to use along with ma desktop application
16:57 toshiba this desktop app has to be dependent on some process
16:57 sfisque gotcha.  you're probably going to need to do some JNI binding tosh.  afaik, java doesnt have a way to introspect native running processes
16:58 toshiba and if I use that as a service wrapper that would start and stop a service...
16:58 toshiba even then, it won't bind?
16:59 sfisque there is a project (not sure of it's liveliness) that produces (produced?) a wrapper to turn an executable app into a service
16:59 tjsnell bind? you're checking the process by connecting to a socket?
16:59 tjsnell turning a java program into a service is very straight forward
17:01 toshiba @sfisque : but not sure whther that executable app turned service would scan other processes that are not in java;right?
17:01 crimsonfubot toshiba: Error: "sfisque" is not a valid command.
17:01 sfisque it would depend on the native side
17:01 tjsnell toshiba:  define scan
17:02 sfisque basically you'll probably need some native lib/exe that does the heavy lifting (unless you're scanning ports for open sockets as tjs is asking) and the java would be a wrapper around that
17:02 toshiba i don't need that a scoket thing
17:02 sfisque i gotta bounce.  tbh , what you're asking has probably been done before.  some deep googling will probably turn up a fair amount of open source projects or example code
17:02 sfisque TTYS
17:03 toshiba what is TTYS?
17:03 tjsnell talk to you soon
17:03 tjsnell is my guess :)
17:04 toshiba sure tjsnell
17:06 toshiba sfisque : what is TTYS bro?
17:07 tjsnell it's "talk to you soon" it fits the context
17:08 toshiba ohhh....tjsnell...u decoded that man :D
17:09 tjsnell it took supreme mental capabilities
18:29 toshiba joined ##javaee
21:59 dangertools joined ##javaee
22:02 tangatools joined ##javaee

| Channels | #javaee index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

Please see http://irclog.greptilian.com/javaee for which days have been logged.