Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 13 18:18
    greenlaw110 commented #1260
  • Dec 13 18:18
    greenlaw110 commented #1260
  • Dec 13 18:12
    greenlaw110 edited #1260
  • Dec 13 18:12
    greenlaw110 edited #1260
  • Dec 13 03:41
    flyingbeecd edited #1260
  • Dec 13 03:41
    flyingbeecd edited #1260
  • Dec 13 03:40
    flyingbeecd edited #1260
  • Dec 13 03:40
    flyingbeecd edited #1260
  • Dec 13 03:35
    flyingbeecd opened #1260
  • Dec 13 03:35
    flyingbeecd opened #1260
  • Dec 11 10:48
    greenlaw110 commented #1259
  • Dec 11 10:48
    greenlaw110 commented #1259
  • Dec 11 10:41
    greenlaw110 commented #1258
  • Dec 11 10:41
    greenlaw110 commented #1258
  • Dec 11 07:34
    jiankian opened #1259
  • Dec 11 07:34
    jiankian opened #1259
  • Dec 11 03:03
    CrossLee opened #1258
  • Dec 11 03:03
    CrossLee opened #1258
  • Dec 07 03:55
    greenlaw110 edited #1257
  • Dec 07 03:55
    greenlaw110 edited #1257
Green Luo
@greenlaw110
Hi @Master-Antonio thanks for your interesting in Act
Act project has been started at the end of 2014, the first release version come out at March 2016, and used in multiple commercial projects already including China and Australia
The development of the framework is still very active, you can check out https://github.com/actframework/actframework/graphs/commit-activity
BTW, we are going to have a presentation about how Act can help with test automation in Test automation and digit qa summit at Sydney (at 28 May)
Toriga
@Master-Antonio
@greenlaw110 Thanks you for this framework. Why ActFramework use Ebean instead of H8?
Toriga
@Master-Antonio
But the doc is complete? Because i see it poor.
Green Luo
@greenlaw110
@Master-Antonio ActFramework support both ebean and JPA (including H8 and Eclipselink)
Yes I still need to work on doc
Marwan Rabbâa
@waghanza
hi @greenlaw110 , seeing the-benchmarker/web-frameworks#1343 I see that act use W.X.Y.Z format. why not semver ? (for example)
Toriga
@Master-Antonio
@greenlaw110 Can you explain to me why it is reccommended use Ebean instead of Hibernate? It is faster and easy to use?
Joe
@mrussmann
hi, is there any sample app or documentation of how to use the AAA plugin? the readme on github is also empty.
Marwan Rabbâa
@waghanza
@greenlaw110 is jdk 13 compatibility planned ?
Green Luo
@greenlaw110
@waghanza What you saw is the starter parent version, the rule of starter parent version is act version (X.Y.Z) plus a starter minor version Z, which might change even act core version is still the same
@Master-Antonio Actually act support both Ebean and JPA (hibernate, eclipselink) now. Ebean looks to me has a simpler API (no session manager). But yes I need to update doc to remove that statement
@mrussmann Please checkout https://github.com/act-gallery/bookmark sample project to get an idea on how act-aaa is used for authentication/authorisation. I need to come up with detail document
@waghanza there is no plan for java13 support at the moment
Marwan Rabbâa
@waghanza
@greenlaw110 snyk deteted some vulnerability issues for act
https://app.snyk.io/org/the-benchmarker/project/4fcbd913-11d3-4ed7-93a3-0e75738c873e
Green Luo
@greenlaw110
@waghanza I got this when clicking on the above link:
image.png
Marwan Rabbâa
@waghanza
ok, I thought this was public since the-benchmarker is public on github :stuck_out_tongue:
Green Luo
@greenlaw110
Thanks @waghanza !
Marwan Rabbâa
@waghanza
:heart:
DeveloperClaus
@DeveloperClaus

@greenlaw110

act-aaa is used for authentication/authorisation. I need to come up with detail document

That would be great! A lack of understanding that part somehow blocked me when trying to get into this part...

Green Luo
@greenlaw110
@DeveloperClaus maybe you want to start from this demo project:
https://github.com/act-gallery/bookmark
Marwan Rabbâa
@waghanza
can anyone help us on the-benchmarker/web-frameworks#1434 ?
the purpose is to add rapidoid in our benchmark but I'm not sure the actual usage will lead to a fair comparison between
  • rapidoid
  • spring-boot
  • act
Marwan Rabbâa
@waghanza
hi @greenlaw110 , could a route be constrained by a type in act ?
I mean restrict the route with a regex (or else)
Green Luo
@greenlaw110
Hi @waghanza what do you mean "be constrainted by a type"?
Green Luo
@greenlaw110
routing by regex is absolute okay for actframework

You have 2 ways to express regex:

// sample: /service/1234
@GetAction("/service/{<[0-9]{4}>accessCode}")
public void service(int accessCode) {
    ...
}

or

// sample: /service/1234
@GetAction("/service/accessCode:[0-9]{4}")
public void service(int accessCode) {
    ...
}
Marwan Rabbâa
@waghanza
exactly what I need
thx
mavusane69
@mavusane69

Hi guys

I'm new to Act and I love this framework.

I'm going through the documentation and trying to understand the best approach for controller and "AppEntry" class in production real-life example.

e.g:

  1. Does the "AppEntry" class always have to be the Controller and have a GetAction() annotation?

  2. Can we have a seperate Controller classes that contain their own action methods and inject or reference the controllers in the "AppEntry" class?

Hope this makes sesnse.

Green Luo
@greenlaw110
@mavusane69 To answer your question:
  1. AppEntry does not necessarily to be controller and have request handler methods (annotated with @GetAction, @PostAction etc).
  2. Yes you can defined separated controller classes with its own request handler methods. There is no need to refer to controllers in AppEntry. As long as AppEntry stays in the highest level in your package, e.g. com.mycomp.myproj and all other controller classes stays in the same level of AppEntry or lower levels e.g. com.mycomp.myproj.services etc, ActFramework will scan the controller classes and automatically register the request handler methods into router to make them ready to handle incoming request
mavusane69
@mavusane69
Thank you very much. will give this a try
Marwan Rabbâa
@waghanza
Hi @greenlaw110 , does act runs on alpine ?
Green Luo
@greenlaw110
@waghanza yes, as long as you have installed JDK 8 or 7 on alpine
Marwan Rabbâa
@waghanza
@greenlaw110 indeed, act could run on alpine. however the wrapper run generated targets bash not default shell (ash)
Green Luo
@greenlaw110
@waghanza you can build docker image for act using mvn -Pdocker package, this will generate docker page based on alpine, with Java 8, bash and nc installed
assumption is your act project is generated using the official maven archetype
Marwan Rabbâa
@waghanza
@greenlaw110 if have already a working act implementation (yours) compiled / run on alpine => https://github.com/waghanza/http-benchmark/tree/lightweight_java/java/act
I'm compiling with openjdk 8 on alpine ;-)
Green Luo
@greenlaw110
@waghanza cool!
billixlee
@billixlee
hey Green C
I'm bill
Green Luo
@greenlaw110
Hi Bill
billixlee
@billixlee
this room is for your masterwork - ACT?
all the guys in room are your customer?
Green Luo
@greenlaw110
not really