Giter Club home page Giter Club logo

footprinterserver's Introduction

Footprinter 服务器端

Footprinter项目简介见Footprinter Client

这部分当时都是由我负责,RMI接口调用(接口和PO定义在FootprinterRemote)是团队开会讨论的,在服务器端就是负责数据PO的增删改查,此外还用HttpClient写了个爬虫,根据citys.txt里提供的城市连接,到去哪网爬去城市和景点的数据,主要包括简介、图片、营业时间、标签、酒店、购物中心信息等等。

技术

主要是SQL的增删改查,以及相应的Unit Test,代码没能做好设计、复用,多写了很多SQL。

爬虫都是有规则的HTML页面,特定的爬取目标,没有JS干扰,设置了sleep防止被封IP。

欣赏下景点的美景

说明 为减小体积,代码中的lib包和一些资源文件有删除

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.