Sponsored White Papers, Webcasts, and Downloads
TechRepublic Resources
- Introducing JavaFX: Sun's new family of Java-based products
- JavaFX is a new family of products and technologies from Sun Microsystems that you can use to create Rich Internet Applications RIAs. JavaFX currently consists of JavaFX Script and JavaFX Mobile; other JavaFX products are planned for release in the future. JavaFX is anticipated to compete in...
- Tags: Application, Operation, Sun Microsystems Inc., Window, Sun NetBeans, Value, JavaFX, JavaFX Script, JavaFX Mobile, FlowPanel, TextField, Button, System.out.println, Class Definition, Programming Languages, Java, Software Development, Software/Web Development, Peter Mikhalenko
- Blog posts 2007-10-31
- Problem while Searching objects in Tivoli Identity Manager
- I am trying to build an webapplication in which i am search records based on the uid and i am not able to do that. Please help meThis is gist of my codePlatformContext platform = getPlatform; SelfRegistrationManager selfRegister; Person person; Subject sub = getSubject(platform,"itim manager","Infosys123"); SearchMO searchMO = new SearchMO(platform,sub); searchMO.setCategory(ObjectProfileCategory.PERSON); DistinguishedName dn = new DistinguishedName("ou=infy,dc=edison,dc=com"); CompoundDN...
- Tags: IBM Corp., ajmerasunny@..., System.out.println
- Discussion threads 2007-09-26
- How do I... Perform date/time arithmetic with Java's Calendar class?
- Java's Calendar class offers a set of methods for converting and manipulating temporal information. In addition to retrieving the current date and time, the Calendar class also provides an API for date arithmetic. The API takes care of the numerous minor adjustments that have to be made when adding and...
- Tags: Method, Java, Class, Calendar, Melonfire
- Blog posts 2007-08-15
- java program
- blog rootI have to follow a Pseudo code, why, I'm not sure, would be easier to write it without it.but here is the Pseudo code layout:Payroll-input : Scanner +main(args [ ] : String)-calculateEarnings(employeeCount : int) : StringDEFINE local variable employeeCount, an integer and initialize it to 1DEFINE local variable employeeCountLimit,...
- Tags: Scanners, Java program, Java, iwlu10@..., employeeCount, hourlyPayRate, hoursWorked, System.out.println, grossPay END, programOutput A-2-07-2, String DEFINE
- Discussion threads 2006-09-22
- java programming - time
- Hey does anybody know a simple way to call and display the system time from the pc using java code? I have to submit an assignment and part of it involves displaying the system time on a simple java program - i was able to track down one method in...
- Tags: Java, SimpleDateFormat, System.out.println, hamant5@..., programming, GregorianCalendar
- Q&A 2006-02-21
- ebay API problem! Get "Unsupported Verb"
- So I'm trying to connect AND GET A RESPONSE from the ebay sandbox server utilizing Java 1.5 & JDOM 1.0. Here's the entry point (adapted from O'reilly's Real World Web Services):public static void main(String[] args) throws IOException { EbayAPISimpleCall myCall = new EbayAPISimpleCall; myCall.setApiVerbGetOfficialTime; Document myDocument = myCall.executeCall; new org.jdom.output.XMLOutputter.output(myDocument, System.out); myCall.setApiVerbGetSearchResults; myCall.setArgument("Query", "![CDATA['abbey road']]"); myDocument...
- Tags: API, Document myDocument, eBay Inc., programming, shirsch4@..., String, System.out, System.out.println, Unsupported, Unsupported Verb, verb
- Q&A 2005-08-21
- Get Data from Database, create a Xml file
- I have to get data from the database and present it as a xml file? Please explain me, how to perform this task?What about this:import java.sql.*;import java.io.*;public class myXml {private static final String dbDriver=...private static final String dbURL = ...private static final String userId = ...private static final String password...
- Tags: database, Exception, kellogy33@..., programming, String, String dbDriver=, String password, System.out.println, XML, XML file
- Q&A 2005-06-23
- Print useful object information by overriding toString()
- This week in Java Q&A, the Builder.com technical team fields a member question about customizing the output generated by passing an object to the System.out.println method.All developers need help from time to time. And when it comes Java, who better to offer that help than the experienced developers at Builder?...
- Tags: Guest Contributor, toString, System.out.println, Foo tmpFoo
- Technical articles 2001-04-02
Additional Resources
- Achieve seamless socket programming in Java
- A minor typo?Shouldn't "in.readLine" be stored in the variable "fromServer"? We are checking if "fromServer" is "Bye.", but we do not set its value to what we receive from the server.Should the code look like:String fromServer = "";while ((userInput = stdIn.readLine) != null) { out.printlnuserInput; fromServer = in.readLine;...
- Tags: programming, Java, rehanali@..., String fromServer, Bye
- Discussion threads 2007-05-10
- Runtime error?
- class a(public static int main(string args[]){system.out.println("hello");return 1;})this gives a runtime error? why?DetailsWhat comiler are you using and what's the exact error?
- Tags: anilrathi83@...
- Discussion threads 2007-10-11
- java & oracle
- how to connect java with oracle databaseTry starting here:http://www.orafaq.com/faqjdbc.htm-- RLimport java.sql.*;public class MyConnection { /** * You need the oracle's driver jar (classes12.jar) */ public static void main(String args[]) { try { //Attempts to establish a...
- Tags: Java, Databases, Programming languages, database, JDBC, Connection
- Q&A 2006-06-19
- Use method overloading in Java
- Naming conventions are an important aspect of any development project, but coming up with unique names can be somewhat tedious. One way to simplify the chore is to reuse method names via overloading. Overloading is the ability to have a class that has multiple methods with the same name that...
- Tags: Development tools, Java, constructor, Baseline Inc., member variable
- Technical articles 2003-09-18
- How to properly use method overloading in Java
- This article originally appeared on Builder.com, TechRepublic’s sister site.Naming conventions are an important aspect of any development project, but coming up with unique names can be somewhat tedious. One way to simplify the chore is to reuse method names via overloading, which is the ability to have a class that...
- Tags: Baseline Inc., Java, member variable, Person, String firstName
- Technical articles 2003-10-14
- Customize javadoc output with doclets
- Did you know that the javadoc is a pluggable documentation tool? This means you can create your own class, or doclet, to perform any task, using your source code as an input. Find out how to create a doclet. While you probably know that the javadoc tool is...
- Tags: David Petersheim, PRODUCTIVITY, doclet, Java Tips Newsletter, Class, Microsoft Development Tools, Programming Languages, Development Tools, Software Development, Software/Web Development
- Technical articles 2005-08-12
- Process the command line with CLI in Java
- Writing code to parse command line arguments is still necessary sometimes. When you need to examine command line arguments, see how and why you should use your open source Java toolkit and use Command Line Interface. Writing code to parse command line arguments isn't the most...
- Tags: HelpFormatter, Java, David Petersheim, Jakarta Commons, BasicParser, CommandLine, command line argument, Command Line Interface, line argument, Java Tips Newsletter, Programming Languages, Corporate Communications, Software Development, Software/Web Development, Marketing
- Technical articles 2005-08-08
- Capture network packets in Java with Jpcap
- Capturing Java Packets in Windows OS using JPCapHai EverybodyI am learing things related to JPCap. For that at the first step i want to capture packet in the Intranet. So i tried the following code. Its Compiling but while executing i am getting an exception. Can any one provide the...
- Tags: Java, Jpcap, JpcapTip Exception, ktjrajesh@..., lan, Microsoft Windows, Mini, Mini Projects\Packet Capture\Sample Program, network, programming, windows
- Discussion threads 2005-08-27
- Parse mathematical expressions with JEP
- You can pass JEP a Java mathematical expression a string of mathematical operations to perform and get back an answer. See how you can start using JEP in your development work. JEP is a Java mathematical expression parser. This means that you can pass JEP a...
- Tags: JEP, David Petersheim, Programming languages, Java Tips Newsletter, Expression, Java, Software Development, Software/Web Development
- Technical articles 2005-08-09
- Extract XML/DOM-friendly data from a JDBC-compliant database
- The current version of Java includes all the tools to translate the output from a relational database query into XML as a Document Object Model DOM document object, which can then be easily translated using the power of Extensible Style Language XSL into any number of output formats. This article...
- Tags: Storage, Databases, John Charles Bell, JDBC, database, getDocument
- Technical articles 2003-07-14
- Maximize your jdb debugging sessions
- Jdb, the Java Debugger provided by Sun, can do most of the things you're used to doing in your normal debugger. Find out how you can get the most out of your jdb debugging sessions. What do you do when you need to debug a Java program and...
- Tags: Java, David Petersheim, Development tools, Jdb, DebugTip.bar, jdb, DebugTip, breakpoint, Java Tips Newsletter, IDE, Class, Session, Programming, Programming Languages, Software Development, Software/Web Development
- Technical articles 2005-08-08
- Explore Java's static nested classes and inner classes
- Learn the basics about Java's two types of nested classes: a static nested class and an inner class. Also, get tips on how to make sense of the sometimes confusing semantics for creating instances of nested classes. Starting with JDK 1.1, Java provided the ability to create nested...
- Tags: Java, David Petersheim, inner class, Java Tips Newsletter, Instance, Class, NestedClassTip, Programming Languages, Software Development, Software/Web Development
- Technical articles 2005-08-12
- << Previous
- page 1 of 1
- Next >>