Coder Social home page Coder Social logo

luxiaoxun / code4java Goto Github PK

View Code? Open in Web Editor NEW
189.0 24.0 128.0 34.91 MB

Repository for my java projects.

Java 32.11% CSS 3.39% JavaScript 61.29% FreeMarker 3.10% Dockerfile 0.07% Shell 0.04%
netty elasticsearch rabbitmq solr lucene geospatial gis

code4java's Introduction

Code4Java

Repository for my java projects

1. NettyMqService

How to implement a message queue service with Netty and RabbitMQ.

中文详情(Chinese Details):

2. MapHttpService

A simple Http Map Service providing tile image for Map.

3. WebGisDemo

A simple web GIS page based on leaflet.

中文详情(Chinese Details)
  1. How to use Elasticsearch.
  2. How to use Solr or Lucene to index and query data.
  3. How to use Elasticsearch to index and query POI(GEO data).

How to use WebGisDemo with MapHttpService:

  1. Download map tile image with MapDownloader
  2. Start MapHttpService with right data source, an example:

    port=8899
    database.type=0 # Use SQLite
    database.sqlite.path=E:\GIS\MapDownloader\MapCache\TileDBv5\en\Data.gmdb

  3. Start WebGISDemo: http://localhost:9090/map

map

code4java's People

Contributors

dependabot[bot] avatar jlleitschuh avatar luxiaoxun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

code4java's Issues

关于WebGisDemo项目依赖的问题

https://github.com/luxiaoxun/Code4Java/tree/master/WebGisDemo
项目里面由于不支持maven,所以根本无法知道你用的是什么版本的spring之类的。
然后有些jar也根本无法google。
example:
import com.poi.service.PoiData;
import com.poi.service.PoiIndexService;

谷歌不出这是哪里的两个类,估计是你自己项目里的把。这样的话,我这根本连项目都无法正常编译通过。
当然,个人的用途不一样,如果你只是为了保存项目而并不是为了开源的话,那打扰了,毕竟那是你自己的项目,没办法开源出来的。如果不是的话,哎呀,大兄弟,谷歌jar老费劲的了 :)

help help

你好 我下载了您的程序 您能讲讲这个程序是怎么实现netty与rabbitmq消息的互传吗?

连接报错啊

java.io.IOException
at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:106)
at com.rabbitmq.client.impl.AMQChannel.wrap(AMQChannel.java:102)
at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:348)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:603)
at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:625)
at com.citicbank.itis.executor.netty.server.rabbitmq.server.MqReceiver$1.run(MqReceiver.java:43)
Caused by: com.rabbitmq.client.ShutdownSignalException: connection error
at com.rabbitmq.utility.ValueOrException.getValue(ValueOrException.java:67)
at com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue(BlockingValueOrException.java:33)
at com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply(AMQChannel.java:348)
at com.rabbitmq.client.impl.AMQConnection.start(AMQConnection.java:294)
... 3 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:290)
at com.rabbitmq.client.impl.Frame.readFrom(Frame.java:95)
at com.rabbitmq.client.impl.SocketFrameHandler.readFrame(SocketFrameHandler.java:139)
at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:534)
at java.lang.Thread.run(Thread.java:722)
10:47:16,913 ERROR MqReceiver:67 - Create Rabbit MQ listener error null

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.