IBM Corp. alleged in two lawsuits Monday that important components of Amazon.com Inc.’s massive retailing Web site were developed and patented many years earlier at IBM.

Amazon, which this year will sell $10 billion worth of everything from books and CDs to pet supplies and jewelry, is accused of infringing on five IBM patents. IBM says the technologies covered by the patents govern how the site recommends products to customers, serves up advertising and stores data.