Re: Netbeans and Kubernetes; Hibernate Configurations

2020-01-03 Thread zahid
It is the final  and static engineering truth V1.0 hard coded solution Struts V2.0 Flexible and configurable, interface  class loosely coupled with implementation class. Spring boot MBeans etc. www.backbutton.co.uk ¯\_(ツ)_/¯ Engineering Truth V1.0 hard code V2.0 Flexible On 04/01/2020

Re: Netbeans and Kubernetes; Hibernate Configurations

2020-01-03 Thread Peter L. Berghold
On Fri, 2020-01-03 at 22:09 -0500, Carl Mosca wrote: > > Albeit a slightly different direction, we tend to do a good bit of > Spring Boot which in addition to being Tomcat based and typically > includes Hibernate, has, what I believe, is a (nice) opinionated way > of doing such configurations. >

Re: Netbeans and Kubernetes; Hibernate Configurations

2020-01-03 Thread Carl Mosca
Hi Peter, Environment variables should be used for this purpose. Exactly how this is done might vary a bit depending on your preference/practice configuration method. What are you using now for the database configuration? NetBeans will allow you to set the environment variables which would

Netbeans and Kubernetes; Hibernate Configurations

2020-01-03 Thread Peter L. Berghold
I have a web app that I've been working on for a while now and I plan to deploy it into a Kubernetes cluster on top of Tomcat. Back end is going to be a MariaDB deployment with no connection to the outside world. Given my persistance layer is Hibernate and while being developed points to the

Re: STRUTS 2: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread zahid
> developing upon struts in 10+ years OMG! I guess I better go on Spring MVC . I hope that i still current. On 04/01/2020 00:53, Laszlo Kishalmi wrote: Well try this one: https://struts.apache.org/getting-started/how-to-create-a-struts2-web-application.html I'd recommend to start a Simple

struts

2020-01-03 Thread zahid
Hi, I am creating a new struts project. I am following the tutoriall on this page. https://netbeans.org/kb/docs/web/quickstart-webapps-struts.html#actionForm I am at 1. Choose File > New Project (Ctrl-Shift-N; ⌘-Shift-N on Mac) from the main menu. Select Java Web in the list of Categories

Re: STRUTS 2: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Laszlo Kishalmi
Well try this one: https://struts.apache.org/getting-started/how-to-create-a-struts2-web-application.html I'd recommend to start a Simple Maven Web application. The graphical web designer had been retired ages ago as well as the tutorial page. Personally I haven't seen anyone developing upon

STRUTS 2: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread zahid
Thank you sir, my particular interest is in struts2 framework. I was particularly drawn to NetBeans because of the page I found showing I can develop  stuts2  graphically. https://netbeans.org/kb/docs/web/quickstart-webapps-struts.html That page seems to show struts1 , may be it is out of

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Laszlo Kishalmi
Yes this is the user list. We have a separate one called dev for those who has the interest! On 1/3/20 3:23 PM, zahid wrote: is this the right emailing list for users of NetBeans because I have no interest in developing anything for  netbeans just use want to netbeans for developing web

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread zahid
is this the right emailing list for users of NetBeans because I have no interest in developing anything for  netbeans just use want to netbeans for developing web applications ? On 03/01/2020 23:16, Laszlo Kishalmi wrote: It shall work, here is the line from the Snap package:

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Laszlo Kishalmi
It shall work, here is the line from the Snap package: StartupWMClass=Apache NetBeans IDE 11.2 It was confirmed to work for 11.2 On 1/3/20 3:10 PM, Neil C Smith wrote: On Fri, 3 Jan 2020, 21:36 ronald marangwanda, mailto:ronald.marangwa...@gmail.com>> wrote: I added that line to the

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Neil C Smith
On Fri, 3 Jan 2020, 21:36 ronald marangwanda, wrote: > I added that line to the .desktop file but I do not know what the correct > WMClass for Apache Netbeans 11.2 is. > Ah, sorry, you're right - it should match the value you get from xprop. And does seem like the code to set WM_CLASS linked

Javadoc window interferes with project recognition?

2020-01-03 Thread Alonso Del Arte
Happy New Year, and happy new decade of system time. I'm using NetBeans 11.1 under macOS Catalina 10.15.2 (I think I was still on Mojave when I first installed NetBeans 11.1). Since last year I've been noticing that sometimes when I start NetBeans, the Javadoc window is missing. I like to keep

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread zahid
You have not mentioned  ubuntu version , so I am hesitant to answer. I too have created  desktop shortcut manually. I prefer to use install kubuntu  directly after after I install ubuntu gnome. because I do not want of deprive myself of free  stuff. Anyway I have found the two important

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread ronald marangwanda
Hi Neil, Ok, thanks. I added that line to the .desktop file but I do not know what the correct WMClass for Apache Netbeans 11.2 is. When I enter the line you posted as is, I still get the duplicate icons when I launch the application, which means its not the correct WMClass. What is the correct

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Laszlo Kishalmi
Also if you install it from https://snapcraft.io/netbeans then the desktop file would be correct. On 1/3/20 9:21 AM, Neil C Smith wrote: On Fri, 3 Jan 2020 at 16:24, ronald marangwanda wrote: I created a .desktop file for Gnome 3 on Ubuntu. ... Does netbeans not set the WM_CLASS correctly?

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Neil C Smith
On Fri, 3 Jan 2020 at 16:24, ronald marangwanda wrote: > I created a .desktop file for Gnome 3 on Ubuntu. ... > Does netbeans not set the WM_CLASS correctly? How do I fix this? The answer's in your question! ;-) Make sure to add the WM_CLASS line to the .desktop file eg. StartupWMClass=Apache

WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread ronald marangwanda
I created a .desktop file for Gnome 3 on Ubuntu. Everytime I launch netbeans 11.2, the launcher icon is duplicated on the Gnome dock. I checked the WM_CLASS property for netbeans 11.2: > $ xprop WM_CLASS > WM_CLASS(STRING) = "java-lang-Thread", "java-lang-Thread" > Does netbeans not set the

Newbie to Netbeans/Maven -- best solution?

2020-01-03 Thread Chris Olsen
Good morning, All -- Thanks to Geertjan and Zahid for assistance in re my missing JavaFX runtime I have solved that problem, and in my later thrashing about uncovered a solution to a different problem that I'm not sure is the best solution. In my (migrating from Java 8) program I have

Re: Newbie to Maven problem -- JavaFX runtime components missing

2020-01-03 Thread zahid
I know you have the answer you want chris, There was still some doubt in my mind about one thing and for anyone following the thread. To use the big green button to run the javafx archetypes right click  on projects. -> properties -> actions select action "clean and build project" from