Questions tagged [jodd]

Jodd is an open-source Java utility library and complete set of micro-frameworks.

Jodd is an open-source Java utility library and set of micro frameworks. Jodd tools enriches JDK with many powerful and feature rich utilities. It helps with everyday task, makes code more robust and reliable. Jodd frameworks is set of lightweight application frameworks, compact yet powerful. Designed following the CoC, DRY and SCS principles, it makes development simple, but not simpler; you get 90% of the features with 10% of usual effort.

Special attention is put into creating reusable and fastest possible code and still keeping it small, under 1.5 MB.

Jodd is free software, released under the terms of the BSD license.

Jodd = tools + ioc + mvc + db + aop + tx + html + json

More details :

68 questions
41
votes
4 answers

Postgres won't accept table alias before column name

I'm using a framework (Jodd) which is adding the table alias to the column names in a SQL Select. It looks like well-formed SQL, but Postgres chokes on it. update GREETING Greeting set Greeting.ID=5, Greeting.NAME='World', …
Ron Romero
  • 9,211
  • 8
  • 43
  • 64
3
votes
1 answer

Jodd Jerry (java): how to get the contents of node itself?

Using Jodd Jerry, how to get the contents of node itself? (Jodd jerry is Java utilility) Like jQuery: $("selector").prop('outerHTML')
senz
  • 79
  • 3
  • 11
3
votes
2 answers

Jodd Java - Can i hide WARN message on console?

My Program not error is perfect work but I feel annoyed from warning message. So, I want to hide it from program console. What should I do? (i can't edit html source code) [Thread-4] WARN jodd.lagarto.dom.LagartoDOMBuilderTagVisitor - Orphan closed…
Jaynova
  • 514
  • 1
  • 4
  • 11
2
votes
1 answer

jodd http client How to set up Ignore certificates

The site i am using is that of a https protocol,so i want to use Ignore certificates.But I am unable to set the ignore certificate. public class JoddHttpClientDemoApplication { public static void main(String[] args) throws Exception { …
senz
  • 79
  • 3
  • 11
2
votes
1 answer

Does Jodd framework provide mechanism to inject petitebeans references for objects created by other frameworks

Does Jodd framework provide mechanism to inject petitebeans references for the objects created by other frameworks. Below are scenarios - Domain/Service objects are created by Spring Framework - Domain objects created are by ORM Frameworks - These…
NRV
  • 21
  • 3
2
votes
1 answer

JODD action interceptors

I cannot figure how should interceptor works as I have some MadvocAction with an @Intercepted annotation but the interceptor stack does not seems to be accessed. @MadvocAction("index") public class IndexAction extends AppAction…
Videanu Adrian
  • 972
  • 3
  • 16
  • 41
2
votes
2 answers

HTML/HTML5 website creating using Jodd(java) framework

I've been reading about Jodd(java) framework and it looks interesting to me. But I see that it seems to be jsp/servlet based. Can you develop strictly html/html5 dynamic website without jsps with it?
Vuzi
  • 185
  • 2
  • 4
  • 13
2
votes
1 answer

How can I get HttpServletRequest Object in Jodd action class?

I am using Jodd Madvoc MVC Framework. I want to get IP address of web application client. How can I get HttpServletRequest object in action class? @MadvocAction(value = "login") public class LoginAction extends BaseAction { Logger logger =…
Kirtan Patel
  • 158
  • 1
  • 11
2
votes
1 answer

How to rollback transaction while we use @transaction annotation in jodd framework?

The code is this: import static jodd.jtx.JtxPropagationBehavior.PROPAGATION_SUPPORTS; @PetiteBean public class FooService { @PetiteInject AppDao appDao; @Transaction(propagation = PROPAGATION_SUPPORTS, readOnly = false) public…
Kirtan Patel
  • 158
  • 1
  • 11
2
votes
1 answer

Java Jodd Http Client with proxy

I used Jodd Http library to connect with the proxy: ProxyInfo proxyInfoObj = new ProxyInfo(ProxyType.HTTP, "10.30.56.70", 8080, "", ""); SocketHttpConnectionProvider provider = new SocketHttpConnectionProvider(); …
Weasley
  • 21
  • 3
2
votes
1 answer

BeanUtil does not copy data between 2 objects

In Jodd BeanUtil class does not have a method that will copy data from one object to another, i.e. in apache commons BeanUtils class there is a method copyProperties that will copy data from one object to another. In Jodd we have to pass the name…
sachin jain
  • 224
  • 1
  • 4
  • 16
2
votes
1 answer

Jerry doc.$ getelementbyclassname

i want to access an element which has no id - just a class. How can i access it with Jodd? Does Jodd have an equivalent to getelementbyclassname? The Html looks like the following:
  • 2
    votes
    1 answer

    loading classes with jodd and using them in drools

    I am working on a system that uses drools to evaluate certain objects. However, these objects can be of classes that are loaded at runtime using jodd. I am able to load a file fine using the following function: public static void…
    1
    vote
    1 answer

    User-Agent header cannot be removed in jodd-http

    I want to send a request without User-Agent for testing purposes. I tried to use headerRemove but it doesn't work. Is there a way to achieve this? val request = HttpRequest.get("https://example.com") …
    kamer
    • 43
    • 1
    • 7
    1
    vote
    1 answer

    jodd cannot sent response to view

    I have an app build with joy-5.0.13 where I cannot send some variable value to the template to be rendered on screen. I'm sure its something simple that I'm missing right now. This is my action: @MadvocAction public class IndexAction { …
    Videanu Adrian
    • 972
    • 3
    • 16
    • 41
    1
    2 3 4 5