The Artima Developer Community
Sponsored Link

Python Buzz Forum
Java is a pain in the ass (or is it just eBay's Java SDK?)

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Phillip Pearson

Posts: 1083
Nickname: myelin
Registered: Aug, 2003

Phillip Pearson is a Python hacker from New Zealand
Java is a pain in the ass (or is it just eBay's Java SDK?) Posted: Feb 1, 2006 7:14 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Phillip Pearson.
Original Post: Java is a pain in the ass (or is it just eBay's Java SDK?)
Feed Title: Second p0st
Feed URL: http://www.myelin.co.nz/post/rss.xml
Feed Description: Tech notes and web hackery from the guy that brought you bzero, Python Community Server, the Blogging Ecosystem and the Internet Topic Exchange
Latest Python Buzz Posts
Latest Python Buzz Posts by Phillip Pearson
Latest Posts From Second p0st

Advertisement

For a project at work, I've got to write a servlet that gets info from eBay via the eBay API and dumps it out in HTML or JSON for some Javascript to read later on.

Naively assuming that the eBay Java SDK would be the easiest way to do this, I download it (all 55 megs). It unpacks to about 250 megs on my hard disk, most of which is documentation, apart from the 20 megs or so of compiled Java code that forms the actual SDK. Now, I expect that this documentation answers just about any question I might possibly have, only it seems that all the useful bits are spread all over the place... argh!

So now I'm going straight to the XML API and writing the thing in Python first, then I'll port it back to Java when it does what I want. I've got more done in minutes with Python and the XML API docs than I managed in over a day with the Java SDK. I can't imagine that it'll be *that* hard to port it back to Java, either... and doing it this way will result in a few hundred kilobytes of class files rather than over 20 megs to send to the client. Hmm.

Comment

Read: Java is a pain in the ass (or is it just eBay's Java SDK?)

Topic: Applications! Applications! Applications! Previous Topic   Next Topic Topic: Open Source Python for Nokia S60

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use