Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

tracking changes in an array in a session bean

 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Topic
The topic of this question is: debug sessionbean1.java

[icode]
Hello and Thank you in advance for any assistance.
[/icode]



Purpose:



The purpose of this code is to try to find the best way to get a list of what is in the Content[] in the session bean.




Question:



My question concerning this code is the table headers are reflecting the binding for the Sessionbean1.content but the data does not display




Functionality:Based on visual web javaserverfaces app tutorial at :
[url]
http://www.netbeans.org/kb/60/web/web-jpa.html
[/url]



The actual functionality of this code is :

I have two apps one containing the main and an entity class and controller class
The web app has the app.jar files so they are linked.
The MLPController loads the data into Content[] content the JSP is bound to the Sessionbean1.content,the Sessionbean init() and calls the updateContent() to fill the Content[] content I have no Idea what is actually in the content array.




errors:



The errors related to this code there is not data displaying in deployed visual web javaserverfaces table.







Description



Code description the persistence.xml







Description



Code description: table to display







Description



Code description:the Entity class







Description



Code description: the controller class







Description



Code description:The session bean











Thanks again.
-ceyesuma





Solution:I would like to know a way to at least learn how I could somehow track what is actually in the content[]. Is this possible. If it is what is the best way to do this?



The solutions related to this code are





Note:



Note:




 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!