All Projects → NLPchina → Jcoder

NLPchina / Jcoder

Java Dynamic code or JAR , publish you Api or Schedule in flying

Programming Languages

javascript
184084 projects - #8 most used programming language
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Jcoder

Rq Scheduler
A lightweight library that adds job scheduling capabilities to RQ (Redis Queue)
Stars: ✭ 1,095 (+699.27%)
Mutual labels:  scheduled-tasks
Cronmon
定时任务执行状态监控
Stars: ✭ 90 (-34.31%)
Mutual labels:  scheduled-tasks
Apk Changer
Command line program for modifying apk files
Stars: ✭ 122 (-10.95%)
Mutual labels:  jar
Frame Scheduling
Asynchronous non-blocking running many tasks in JavaScript. Demo https://codesandbox.io/s/admiring-ride-jdoq0
Stars: ✭ 64 (-53.28%)
Mutual labels:  scheduled-tasks
Gcalcron
Schedule shell commands execution through Google Calendar
Stars: ✭ 81 (-40.88%)
Mutual labels:  scheduled-tasks
Bintray Publish
Super easy way to publish your Android and Java artifacts to bintray.
Stars: ✭ 97 (-29.2%)
Mutual labels:  jar
Ij resources cn
Java IDE Idea的中文化支持
Stars: ✭ 50 (-63.5%)
Mutual labels:  jar
Gradle Nexus Staging Plugin
Automatize releasing Gradle projects to Maven Central.
Stars: ✭ 132 (-3.65%)
Mutual labels:  jar
Gradle Util Plugins
Fix for windows gradle long classpath issue. Fixes JavaExec tasks that error out with message "CreateProcess error=206, The filename or extension is too long"
Stars: ✭ 87 (-36.5%)
Mutual labels:  jar
Apkdiffpatch
a C++ library and command-line tools for Zip(Jar,Apk) file Diff & Patch; create minimal delta/differential; support Jar sign(apk v1 sign) & apk v2,v3 sign .
Stars: ✭ 121 (-11.68%)
Mutual labels:  jar
Capsule
Dead-Simple Packaging and Deployment for JVM Apps
Stars: ✭ 1,143 (+734.31%)
Mutual labels:  jar
Kafka Connect Protobuf Converter
Protobuf converter plugin for Kafka Connect
Stars: ✭ 79 (-42.34%)
Mutual labels:  jar
Obfusesmalitext
smali文件,jar包字符串混淆,支持gradle插件
Stars: ✭ 105 (-23.36%)
Mutual labels:  jar
Cronmon
PHP Web app to monitor cron/scheduled tasks
Stars: ✭ 55 (-59.85%)
Mutual labels:  scheduled-tasks
Queues
A queue system for Vapor.
Stars: ✭ 121 (-11.68%)
Mutual labels:  scheduled-tasks
Burpsuite Collections
BurpSuite收集:包括不限于 Burp 文章、破解版、插件(非BApp Store)、汉化等相关教程,欢迎添砖加瓦---burpsuite-pro burpsuite-extender burpsuite cracked-version hackbar hacktools fuzzing fuzz-testing burp-plugin burp-extensions bapp-store brute-force-attacks brute-force-passwords waf sqlmap jar
Stars: ✭ 1,081 (+689.05%)
Mutual labels:  jar
Windows10debloater
Script to remove Windows 10 bloatware.
Stars: ✭ 11,462 (+8266.42%)
Mutual labels:  scheduled-tasks
Node Cron
A simple cron-like job scheduler for Node.js
Stars: ✭ 2,064 (+1406.57%)
Mutual labels:  scheduled-tasks
Laravel Database Schedule
Manage your Laravel Task Scheduling in a friendly interface and save schedules to the database.
Stars: ✭ 94 (-31.39%)
Mutual labels:  scheduled-tasks
Discordsoundboard
Java Soundboard for Discord
Stars: ✭ 108 (-21.17%)
Mutual labels:  jar

Welcome to the Jcoder


In this project you can fast publish your API and schedule task, dynamic edit you java class and add or remove jar !

  • Getting Started
  • about config on startup

    you can make a config file named coder.conf

    #only localhost can visit Management background
    host=localhost 
    # default port is 8080
    port=8080
    # home path .default is ~/.jcoder
    #home=~/.jcoder 
    # mvn exepath , it is a full path like /home/maven/bin/mvn
    maven=mvn
    # log path 
    log=log/jcoder.log
    

    now you can use it by : java -jar jcoder-[version].war -f=coder.conf

    Of course you can take these by args :java -jar jcoder-[version].war --home=~/.jcoder --port=9090 --host=localhost

  • Publish a API

    Click Test->Create-Task

    https://raw.githubusercontent.com/wiki/NLPchina/Jcoder/1.png

    Code :

    package org.nlpcn.jcoder.run.java;
    
    import org.apache.log4j.Logger;
    import org.nlpcn.jcoder.run.annotation.DefaultExecute;
    import org.nutz.ioc.loader.annotation.Inject;
    
    public class TestRun {
    
    	@Inject
    	private Logger log;
    
    	@DefaultExecute
    	public String defaultTest(String name) throws InterruptedException {
    		return "Hello Jcoder " + name;
    	}
    
    }
    

    select TaskType : Active and write some word to description now Click Save button

    now you can use you api by : http://localhost:8080/api/TestRun?name=ansj

  • Publish a schedule task

    Click Test->Create-Task

    https://raw.githubusercontent.com/wiki/NLPchina/Jcoder/2.png

    Code:

    package org.nlpcn.jcoder.run.java;
    
    
    
    import java.util.Date;
    
    import org.apache.log4j.Logger;
    import org.nlpcn.jcoder.run.annotation.DefaultExecute;
    import org.nlpcn.jcoder.util.DateUtils;
    import org.nutz.ioc.loader.annotation.Inject;
    
    public class CronTest {
    	
    	@Inject
    	private Logger log ;
    
    	@DefaultExecute
    	public void execute() throws InterruptedException {
        Thread.sleep(10000L);
    		log.info(DateUtils.formatDate(new Date(), DateUtils.SDF_FORMAT));
    	}
    
    }
    

    select TaskType : Active and write some word to description Write Corn 0/5 * * * * ? now Click Save button

    now your job every 5`s run once!

    https://raw.githubusercontent.com/wiki/NLPchina/Jcoder/3.png

  • how to use example by action
     package org.nlpcn.jcoder.run.java;
     
     import org.nlpcn.jcoder.run.annotation.Cache;
     
     /**
      * this is a api example
      * 
      * @author ansj
      *
      */
     @Single(false) // default is true
     public class ApiExampleAction {
     	
     	@Inject
     	private Logger log ;
     	
     	@Inject
     	private Dao dao ;
     
     	@Execute // publish this function to api !
     				// use url is
     				// http://host:port/[className]/methodName?field=value
     				// http//localhost:8080/ApiExampleAction/method?name=heloo&hello_word=hi
     	public Object function(HttpServletRequest req, HttpServerResponse rep, String name, @Param("hello_word") Integer helloWord) {
     		dosomething..
     	}
     
     	@DefaultExecute // publish this function to api !
     	//http://localhost:8080/ApiExampleAction?user.name=aaa&user.passowrd=bbb
     	//http://localhost:8080/ApiExampleAction/function2?user.name=aaa&user.passowrd=bbb
     	//more about http://www.nutzam.com/core/mvc/http_adaptor.html
     	@Execute(methods={"get","post"},restful=true, rpc=true) //methods default all , restufl,rpc default true 
     	@Cache(time=10,size=1000,block=false) // time SECONDS , block if false use asynchronous
     	public Object function2(@Param("..") User user) {
     
     		dosomething..
     	}
     
     }
     
    
  • road map
    • auto backup database export and import
    • system properties view and manager
    • publish socket api by netty
    • add a util for testing task
    • incremental update task from jcoder server
    • publish a restful api by db table
    • Perfect the documents
    • add Dasboard page view task use time ,times ,err or other system info
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].