DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • A Guide to Data-Driven Design and Architecture
  • Architecting a Completely Private VPC Network and Automating the Deployment
  • Building Analytics Architectures to Power Real-Time Applications
  • Single-Tenant vs. Multi-Tenant Architecture: Breaking Down the Key Differences

Trending

  • Modular Software Architecture: Advantages and Disadvantages of Using Monolith, Microservices and Modular Monolith
  • Cognitive AI: The Road To AI That Thinks Like a Human Being
  • Performance Optimization Strategies in Highly Scalable Systems
  • Java Parallel GC Tuning
  1. DZone
  2. Software Design and Architecture
  3. Microservices
  4. Understanding eBay's plug-in Architecture

Understanding eBay's plug-in Architecture

John nbharti user avatar by
John nbharti
·
Mar. 26, 08 · Interview
Like (0)
Save
Tweet
Share
11.11K Views

Join the DZone community and get the full member experience.

Join For Free
My girlfriend is an avid eBay shopper, buying everything from fine perfumes to accessories for her iPod. The other day I asked her if she was ever curious about the underlying technology supporting such a massive eCommerce site. It turns out that she is only interested in winning every bidding war she enters into for that 'must have' item. She'll sit in front of her laptop at midnight, rapidly refreshing her screen to make sure that she hasn't been outbid. She wins everytime. 

Michael Galpin has written a fascinating two part series on IBM Developer Works describing the evolution of eBay's architecture to an Eclipse-based plug-in framework that helped them solve some thorny front-end scalability issues.

"The V4 architecture took the approach of representing everything that was going to be used on the front end with strongly typed Java objects on the back end. Does your page use an image? Then there is a
Java object for that image. If you want to delete that image, it's as simple or as complex as deleting any other Java class. The same can also be said for links, CSS, and JavaScript. V4 does not use servlets or JSPs to create HTML. Instead, the actual HTML DOM is represented in the Java language, so you can
wire together CSS and JavaScript on the server."


Galpin then proceeds to show how JsDoc annoations can be used to create references to Java classes by specifying extra meta-data within the Javascript classes - This effectively allows eBay's plug-in framework to generate the Java domain objects from Javascript. He concludes the first part by showing a really cool example of how a running eBay instance can be introspected for its constituent V4 components, by mousing over an eBay Web page in production - the user is presented with a series of options, one of which includes opening up that particular component directly inside Eclipse.

I'm sure my girlfriend could probably care less about the magic happening behind the scenes here. But maybe, just maybe, the next time she's bidding on that gold bracelet, there will be a momentary appreciation of the work the good folks at eBay are doing to help her 'eBay refreshes' render at lightning speed.

Architecture

Opinions expressed by DZone contributors are their own.

Related

  • A Guide to Data-Driven Design and Architecture
  • Architecting a Completely Private VPC Network and Automating the Deployment
  • Building Analytics Architectures to Power Real-Time Applications
  • Single-Tenant vs. Multi-Tenant Architecture: Breaking Down the Key Differences

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: