RES: MIB in Java
"Wesley Naves" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
>I would also question your statement: >> because [Java] is more fast than C. Sorry, i didn´t complete my statement, i would like say that write java code is more fast than C, because we have own libs, very experience in developer java code. I know that performance C is very fast but the development team is essentially JAVA and would like some test in java. +++++++++++++++++++++++++++++++++++++++++++++++ Wesley Naves de Faria Analista de Suporte SCSA - Sun Certified System Administrator for Solaris 10 SCNA - Sun Certified Network Administrator for Solaris 10 FreeBSD / OpenBSD / Linux AGANP - Agencia Goiana de Administração e Negócios Públicos Fone: 62 3201-6582 +++++++++++++++++++++++++++++++++++++++++++++++ -----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Dave Shield Enviada em: quarta-feira, 16 de janeiro de 2008 10:53 Para: Wesley Naves Cc: [email protected] Assunto: Re: MIB in Java On 16/01/2008, Wesley Naves <[email protected]> wrote: > I develope mibs in C ansi, i would like user java to developer new > mibs, because is more fast than C. Is it possible ? Although there is a Java wrapper associated with the Net-SNMP suite, this is aimed at client-side (i.e. manager) applications. The agent itself is written in C, and it would not be straightforward to merge in a MIB module written in Java. If you are determined to use a Java-based MIB implementation, then your best bet is probably to look at using an agent (or AgentX subagent) which is itself written in Java. That's not something we could help you with - we can only provide support for our own code. I would also question your statement: > because [Java] is more fast than C. I would be very surprised if the performance of a MIB module written in Java matched that of an equivalent module written in C. The advantages of Java are more aimed at portability (at least in theory) and ease of development/maintenance (object encapsulation reuse, etc). Java tends to work at a slightly higher conceptual level than C, which inherently introduces additional overheads. All else being equal, a C program will tend to run faster than an equivalent Java program. There are good reasons for preferring Java over C for application development, but performance is not one of them. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users