Ok that makes sense. It sounds like developing a new codebase *based on* the
launchpad might be my next step. I guess the launchpad is really an example,
and not intended to be deployed to production as provided from the war
download link here: https://sling.apache.org/downloads.cgi.
I guess
I would say that's how the creators of JavaEE intended for deployment
options to be specified :)
On Thu, Jan 12, 2017 at 10:53 AM lancedolan wrote:
> I can look into overriding init params through some servlet container
> features. Is that the way that Sling devs expect
Yes, I mean your application code. In my experience, the actual Sling
launchpad is not very useful by itself except as a learning tool. In any
real-world case, you will end up creating your own launchpad by taking the
standard Sling launchpad and adding additional bundles to it.
And while yes,
If you are running a cluster with Sling on Oak/Mongo then sticky
sessions would be required due to eventual consistent nature of
repository. Changes done on one cluster node would not be immediately
visible on other cluster node. Hence to provide a consistent user
experience sticky sessions would
Why are you running the war file on Tomcat? It's not wrong of course.
However, I believe that most users use the standalone jar and
therefore help may be more readily available for that setup.
Regards
Julian
On Wed, Jan 11, 2017 at 4:19 AM, lancedolan wrote:
> I cannot
Hello Experts,
We are a very small company and starting to propose Apache Sling based
solutions for budget clients. I would like to know any small company
(professionals) provides Apache Sling architectural review and yearly
production support plans?
you can send email response to
ravi (at)
i've not tested your example but by reading the code i would say it should work
like this conceptually.
i think there is no "community consensus" on using the JS use API or not. i
personally would advise to not use it for non-trivial tasks, because it creates
a unhealthy combination of
Hi,
On Tue, 2017-01-10 at 18:29 -0700, lancedolan wrote:
> All I want to do is print out a resource's children resources.
Using the HTL repl [1] I narrowed down the following way of listing
child resources:
template.html
-
${properties.jcr:title}
My siblings are:
Hi Lance!
The problem is not the JS Use API but the way the JS Iterator is used. One
should do:
for (var [key, res] in Iterator(children)) {
returnObj.content += res.name;
}
Also, Robert is right, you should strive to keep your business logic (use
objects) as light as possible do the
Thank you for your time everybody! For posterity:
First to clarify, my very specific question is how to iterate an iterable in
the model-building logic (what us old timers might call a "backing bean"). I
do already know that I can use HTL to iterate the children, and I do
recognize that in this
But don't you need your own artifact anyway to include your custom
application bits?
IIRC (and I can't find the code right now), we explicitly *don't* allow for
system properties to be used for sling properties in a webapp case since
multiple webapps can be deployed into the same container.
In
Alright, I'll bite.
If you're talking about model building logic. Is there some architectural
constraint on why you don't just stick with java?
-Jason
-Original Message-
From: lancedolan [mailto:lance.do...@gmail.com]
Sent: Wednesday, January 11, 2017 2:37 PM
To:
No architectural reason - purely speed of development reasons. Our team has
switched from Java to Node.js on our other projects and are seeing real
gains in dev time. We believe we could see the same faster development with
lightweight JS files as opposed to traditional type-safe Java.
I think
Hmm, my genuine apologies, I'm not sure what custom application bits are. If
you're saying that I can deploy code that I write to Sling, that's
absolutely true, but my understanding is that I need to change the runmode
BEFORE the Sling instance starts up for the very first time, and I can only
I can look into overriding init params through some servlet container
features. Is that the way that Sling devs expect me to turn on Mongo
functionality?
--
View this message in context:
http://apache-sling.73963.n3.nabble.com/How-to-change-run-mode-in-Sling8-tp4069494p4069529.html
Sent from
The only example code I can find to authenticate to Sling will use the JEE
servlet container's "j_security_check" which then stores the authenticated
session in App Server memory. A load-balancer without sticky-sessions
enabled will cause an unstable experience for users, in which they are
16 matches
Mail list logo