• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Netbeans gui question, switching from SE to EE, or 1 class to another?

 
Jay Orsaw
Ranch Hand
Posts: 356
Android Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay so I have a class that I built about 160 menu items. I was curious if it's possible to be able to save that gui info and transfer it from Java SE to EE? I don't even think I can copy the code since the gui code is not editable... Even redoing the parts of code isn't an issue, it's the gui builder part I'm more worried about. It took a lot of time to do this, so I don't want to waste more.
 
Maneesh Godbole
Saloon Keeper
Posts: 11096
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IDE questions are more suitable for the IDE forum.
Moving....
 
Haina Minawa
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jay Orsaw wrote:Okay so I have a class that I built about 160 menu items. I was curious if it's possible to be able to save that gui info and transfer it from Java SE to EE? I don't even think I can copy the code since the gui code is not editable... Even redoing the parts of code isn't an issue, it's the gui builder part I'm more worried about. It took a lot of time to do this, so I don't want to waste more.


Hi, I am not sure I fully understand what you mean by "from Java SE to EE"?
I guess you want to convert menu items from a Swing app to a JSP page? If so, it is impossible because in JSP you have to use Javascript/HTML to build the menu which is very different than Swing's menu items.
 
Jay Orsaw
Ranch Hand
Posts: 356
Android Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Haina Minawa wrote:
Jay Orsaw wrote:Okay so I have a class that I built about 160 menu items. I was curious if it's possible to be able to save that gui info and transfer it from Java SE to EE? I don't even think I can copy the code since the gui code is not editable... Even redoing the parts of code isn't an issue, it's the gui builder part I'm more worried about. It took a lot of time to do this, so I don't want to waste more.


Hi, I am not sure I fully understand what you mean by "from Java SE to EE"?
I guess you want to convert menu items from a Swing app to a JSP page? If so, it is impossible because in JSP you have to use Javascript/HTML to build the menu which is very different than Swing's menu items.


Maybe I'm more confused.. I have only been using SE for now, but I heard for business applications you want to use EE, so wouldn't it just have extra featuresa, why exactly do you have to use JSP?

I am mainly trying to figure out how to save gui work if I need to move it around from 1 class to another, or would I make it into a bean? I'm not really familiar with all of this, I'm trying to learn it all, it's my next project .
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65124
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jay Orsaw wrote:but I heard for business applications you want to use EE


Hogwash. You use JEE if you need JEE. What feature available in EE have you identified that you need? EJBs? Other? If the answer is "none" and your app is working fine under SE, then there's no need to to even think about EE.

 
Jay Orsaw
Ranch Hand
Posts: 356
Android Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:
Jay Orsaw wrote:but I heard for business applications you want to use EE


Hogwash. You use JEE if you need JEE. What feature available in EE have you identified that you need? EJBs? Other? If the answer is "none" and your app is working fine under SE, then there's no need to to even think about EE.



I know I need to use beans, but I'm not sure what the specifics of EJB are vs JB. I read a little into it, but not too much... I'm still overall looking at what I will need, if I don't need EE then I wont, but it seemed like the way to go, what are your thoughts on it?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65124
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You didn't answer the questions: is your app working fine already? What do you need from EE?

A vague "I think I might need it" isn't sufficient.

P.S. JavaBeans and EJB have little to nothing to do with each other,.
 
Jay Orsaw
Ranch Hand
Posts: 356
Android Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:You didn't answer the questions: is your app working fine already? What do you need from EE?

A vague "I think I might need it" isn't sufficient.

P.S. JavaBeans and EJB have little to nothing to do with each other,.


My application isn't written yet. The file menu is however.

Also my main question is how am I able to save my gui work and transfer it if I ever need to use my menus again, would that be in a bean?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic