Notebooks in Forte Visual
I am just starting to look at Forte Visual for C++ and am wondering how I might create a widget similar to the Java JTabbedPane container? Anyone developed something like this using Forte and the Motif widget set?
grumpy
I am assuming you mean ODBC instead of JDBC. If so then look at page 35 in http://docs.iplanet.com/docs/manuals/forte/forte4gl/35/adb.pdf.
ka
Similar Messages
-
Migrating sapgui look and feel settings of sapgui to new notebook.
Hi,
We are migrating from XP to Vista and SAPGui 640 to 710. (new notebooks are assigned to the users)
I copied saplogon.ini to the new notebook to preserve the links to the servers.
Some users have customized the look and feel of their SAPGui. How can I copy the settings of their SAPGui to the new notebook (like the visual design, color settings and font size that the user have set in their sapgui.)
thanks,
RoelHello Roel,
The windows vista version itself gives a new dimension to the look and feel. So I guess nothing must have been editted on SAPGUI screen.
And more of SAP GUI 640 to 700 look and features are also different.
Kindly request you to check with the user who has changed and got the looks as you found on his screen.
If you are looking for the changed screen after SAP gui login, where the main screen appears.
Then I would suggest, you go through thsi link below -
Change SAPGUI initial login screen
http://www.sap-img.com/basis/changing-the-sapgui-logo-on-the-right-hand-side.htm
Do let me know if this resolved your issue.
Thank you.
Regards,
Manomeet Mohapatra
Award points if helpful ** -
Hi,
I have been worried about this problem since a long time. I couldn't get any help figuring out the problem. I am using microsoft visual j++ 6.0
I have tried putting the rt.jar file in the class path but its getting me out of the compilation errors and not this runtime error.
I faced this problem with many codes.
When i used the jbuilder as one of the users suggested, i am getting this compilation errors,
"FloatingAgent.java": Error #: 704 : cannot access directory vrml at line 4, column 4
"FloatingAgent.java": Error #: 704 : cannot access directory vrml\node at line 5, column 4
"FloatingAgent.java": Error #: 704 : cannot access directory vrml\field at line 6, column 4
"FloatingAgent.java": Error #: 300 : class Script not found in class FloatingAgent at line 9, column 39
Please somebody help.
Jagadish.
// an agent is floating randomly.
import java.util.*;
import vrml.*;
import vrml.node.*;
import vrml.field.*;
import java.io.*;
public class FloatingAgent extends Script{
SFVec3f setAgentPosition;
SFRotation setAgentRosition;
static int count=0;
float agentPosition[] = new float[3];
float agentRosition[] = new float[4];
float rotangle = 0.0f;
float aRad= (float) (Math.PI/180);
//Random randomNumGenerator = new Random();
public void initialize(){
// get the reference of the event-out 'setAgentPosition'.
setAgentPosition =
(SFVec3f)getEventOut("setAgentPosition");
setAgentRosition =
(SFRotation)getEventOut("setAgentRosition");
// initialize the agent position.
agentPosition[0] = 0.0f;
agentPosition[1] = 0.0f;
agentPosition[2] = 0.0f;
agentRosition[0] = 0.0f;
agentRosition[1] = 0.0f;
agentRosition[2] = 1.0f;
agentRosition[3] = 0.0f;
public void processEvent(Event e){
if(e.getName().equals("interval") == true){
moveAgent();
// generate random float value ranging between -0.1 to 0.1.
/*float generateRandomFloat(){
return(randomNumGenerator.nextFloat() * 0.2f - 0.1f);
// move the agent randomly.
void moveAgent()
agentPosition = reader();
// agentPosition[0] += generateRandomFloat() ;
// agentPosition[1] += generateRandomFloat();
//agentPosition[2] += generateRandomFloat();
rotangle += 2.0f;
agentRosition[3] = rotangle * aRad;
// move the agent to the new position.
setAgentPosition.setValue(agentPosition);
setAgentRosition.setValue(agentRosition);
}//move agent
static float[] reader()
float p1[] = new float[3];
try{
FileReader fr = new FileReader("data.txt");
BufferedReader br = new BufferedReader(fr);
String s;
int count1=0;
count++;
try{
while((s=br.readLine())!=null)
count1++;
StringTokenizer st = new StringTokenizer(s);
if(count1==count)
int i=0;
while(st.hasMoreTokens())
p1[i++]=Float.parseFloat(st.nextToken());
}//if
}//end of stringTokenizer while.
fr.close();
catch(IOException f)
System.out.println("file cannot be opened");
}//try
catch(FileNotFoundException e)
System.out.println("file doesn't exist");
} //try
return p1;
}//readerDidn't we hear this from you yesterday? Sounds too familiar. If so, we told you you're using a MICROSOFT product (Visual J++), which is OLD, and not up to the SUN's java specification. We suggested that you dump Visual J++ and go with something like JBuilder, Forte, Visual Cafe, etc.
This is a SUN site in support of SUN's java - not Microsoft's outdated and non-existent (anymore) version. -
How to get the size of the test put in a JPasswordField ?
I've checked all the methods that may allow me to know the size
of the text in a JPasswordField.
I tested getCaretPosition() , getSelectedEnd()
and they don't satisfy me : they give the current position of the cursor
and not the size of the text typed. The only safe method is the use
of the method getText() which is deprecated, so that i can get the
size of the resulting String.
Is there a method that allow to know the size of a char arrays ?
Any help will be welcome, thanks.JPasswordFieldObj.getPassword().length;the length variable isn't visible in the forte visual parameters.
thanks a lot, it saved me a lot of time and let me keep the
getPassword() secure.
Sorry, don't have more duke dollars, but you should have get some for this. -
Help! Problems with v7.2 and v7.3 and backing up
I need to do a backup on my desktop PC so that I can transfer everything to my Macbook that I just bought. I upgraded to v7.3 yesterday and the backup wouldn't work. I found a post here that said to downgrade to v7.2 to fix the problem. All seemed OK and the backup started. Halfway through, the backup stopped. Now I'm getting the following error:
Runtime error!
Program C:\ProgramFiles\iTunes\iTunes.exe
This application has requested the runtime to terminate it in an unusual way. Please contact the application's support team for more information.
I tried uninstalling and reinstalling (again) but it gave me the same message. What should I do? Go for a different version of iTunes? You're going to start hearing screaming soon if I don't get this figured out.Didn't we hear this from you yesterday? Sounds too familiar. If so, we told you you're using a MICROSOFT product (Visual J++), which is OLD, and not up to the SUN's java specification. We suggested that you dump Visual J++ and go with something like JBuilder, Forte, Visual Cafe, etc.
This is a SUN site in support of SUN's java - not Microsoft's outdated and non-existent (anymore) version. -
Maintaining sapgui 640 config on migration to vista and gui 7
Hi,
We are migrating from XP to Vista (giving new notebooks to users) and SAPGui 640 to 710.
I know that we can copy saplogon.ini to the new notebook preserve the links to the servers.
How can I copy the customizing settings of their SAPGui to the new notebook (like the visual design, color settings and font size that the user have set in their sapgui.)
thanks,
RoelMany thanks Sergo, I also tried that approach but did not find any.
I tried changing the sttings in sapgui (taking note of the time of change) then search the entire C drive for some files that was changed on the same time. Unfortunately I only found sapgui logs but no config files.
I have just posted a question to oss. Please update me if you find anything.
thanks,
Roel -
Hi,
Recently I've been looking for a really good JSP editor. I wanted syntax coloring and auto completion for jsp, html, and javascript. I also wanted the editor to run quickly and have a lot of efficient key input features. I tried ... Forte, Visual Age, JDeveloper, JBuilder, JCreator, HomeSite, JPad, NetBeans, JIdea (I think that's the name), and about 4 other ones but I can't remember their names. They were all pretty crappy in dealing with jsp/html/javascript. -Even though I think that JBuilder is the best for writing java.
If anybody is looking for the best jsp/html/javascript editor you can save yourself a lot of headaches if you try out Visual Slick. And by the way I'm a graduate student, I don't work for Visual Slick.Hi,
Thanks for Together suggestion. It looks pretty loaded, with many different tools. But maybe it's my stupidity: i couldn't add a java file to the project i opened, and there are no menu items/shortcuts to compile a java file. I spent an hour on this, then gave up and returned to my previous development tool. It's not as loaded, and has some keying problems, but at least i am in total control there.
Any tips?
Thanks,
r -
Hello happy users !
Doe's anyone use Visual Source Safe with Forte ? I saw something about
it some month ago but i'm unable to retrieve it...
I remember someone has writed a Forte project allowing to automatically
archiving source file in VSS while integrating the workspace in the
repository. Someone use it ? How do you manage the changes in a project
Do you always archiving .pex even if you only change a class ?
Help greatly appreciated from people using VSS with Forte !
Cordialement.
Patrice Bourdon
Alliance Sante France
Tel : +33 02.54.60.26.27
Fax : +33 02.54.60.25.00
e-mail : [email protected]
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Hi, thanks for your reply!
I had the same thought, that it was a matter of time. Therefore i let the system work during the night, but it did not help - Forte is still refreshing!
After mounting the following tasks are done:
Preprocessing LIST_DIR_READER, exec = ${RUN} \"${VSSCMD}\" dir -R- -F- \"${PROJECT}$[? MODULE] [${PS}${MODULE}] []$[? DIR] [${PS}${DIR}] []\" ${OPTIONS} && \"${VSSCMD}\" diff ${OPTIONS}
Command Refresh started, exec = ${WRAPPER} LIST_DIR_READER LIST_STATUS_READER LIST_STATUS_FOLDER_READER
Command LIST_DIR_READER started, exec = cmd /X /C "(mkdir \"C:\Projects\Products\PocketPharma\Java\Temp\ReportPrototype\\.\" 2>nul || echo.) && cd /D \"C:\Projects\Products\PocketPharma\Java\Temp\ReportPrototype\" && \"C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE\" cd -I- -YG�ran Arvidsson,password \"$/Products\PocketPharma\Java\Temp\ReportPrototype\Products\PocketPharma\Java\Temp\ReportPrototype\" && \"C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE\" workfold -I- -YG�ran Arvidsson,password \"C:\Projects\Products\PocketPharma\Java\Temp\ReportPrototype\" && \"C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE\" dir -R- -F- \"$/Products\PocketPharma\Java\Temp\ReportPrototype\Products\PocketPharma\Java\Temp\ReportPrototype\" -I- -YG�ran Arvidsson,password && \"C:\Program Files\Microsoft Visual Studio\Common\VSS\win32\SS.EXE\" diff -I- -YG�ran Arvidsson,password
The information about these commands (available from Runtime tab)
* Output of VCS commands [Refresh]
No output available (Still running)
* Output of VCS commands [LIST_DIR_READER]
Standard output - Username: G�ran
Data output - []
[Username: G�ran]
I have tried to use another user (Goran Arvidsson) but the problem is still present!
I hope this information tells you more than it does to me!
Best Regards
G�ran -
I want to vent my disgust with HP notebook product line.
I want to state that I am not the generic user, I have been working in the personal computer industry since 1986. And, in the mid-90's... I was arepair center supervisor for AST Computer Notebooks at their National Repair Depot in Fort Worth TX. So, I have a very good understanding of notebook computers!
I want to point out I do not have any particular vendetta against HP as a company. I currently work for a company that exclusively uses HP Servers and very happy with that decision.
Here are my complaints:
I currently own two HP Notebooks, both are just over 3 years old. Both have had to have the Main Logic boards replaced!
- This issue is a known issue by HP and NVidia. HP sold these notebooks back in 2006 and 2007. My notebook is a DV9260NR and the other is a less expensive DV AMD model.
- HP has decided to not do anything about this issue. Along with NVidia have created significant hurtles to prevent them experiencing any costs by their companies selling defective products!
- The settlement solution is outrageous, even though it is known that most of the notebooks that use the chip set in question is sure to fail… if it has not by the period specified in the law suit… you are just out of luck!
It is my educated observation…
- The heat removal system for this notebook is lacking.
- This is one of the worst cases of a company turning its back on its customers I have observed!
Based on this conduct by HP…
- I will never purchase another HP product or recommend one to anyone I would like to remain friends with!
- I will never purchase network equipment from HP.
- In the future look at other vendors for my server needs.Hi.
This is my 4th HP laptop. Had 3 printers, HP cameras...I would say I used to be one of the most faithful customers until...The # 3 was the one that was having HUGE problems, The other 3 were overheating and I made them work by not opening too many videos. HP NEVER TOOK CARE OF THE PROBLEM, I GOT NOTHING, no compensation, no discount... and will buy NOTHING ever from them. I'd say this company knows it is going down and doesn't care about the customers! Take care SO -
RE: (forte-users) Reporting tools/components for ForteApplications?
Hi Robert,
A good place to start when it comes to reporting is Forte Consulting. They
have developed a tool called ReportKit, which is ActiveX integration with
Seagate Software's Crystal Reports tool. Crystal is not really a three-tier
tool (although, your Forte Consultant can probably set it up to mimic a
three-tier tool), but it is a quick, easy way to get quality reports from
your existing Forte applications. If you're interested, give your Forte
Sales Rep (or, better still, your Forte Regional Consulting Director) a
call. They can discuss pricing and scheduling. I've done several
integration projects with Crystal, and I highly recommend ReportKit for
small- to medium-sized reporting requirements. As for costs, I don't recall
how much CrystalReports runs, but I think there are developer licenses and
runtime licenses.
FYI, the actual integration of ReportKit is pretty quick. The more
time-consuming piece of any report tool integration is the design and
implementation of the reports to be used.
I hope this helps.
-Katie
Katie Tierney
Quality Management Analyst
Akili Systems Group
601 Jefferson, Suite 3975
Houston, Texas 77002
Office: (713) 655-1400
Cell: (409) 255-1643
"The bitterness of poor quality remains long after the sweetness of low
price is forgotten" --Larry Anderson
-----Original Message-----
From: Robert Brooke-N502365 [mailto:Robert.Brookeca.michelin.com]
Sent: Monday, February 14, 2000 8:17 AM
To: kamranaminyahoo.com
Subject: (forte-users) Reporting tools/components for Forte
Applications?
Hi all,
We are looking for what is currently in the marketplace to enhance the
reporting
capabilities of Forte. Ideally, we are looking for component libraries that
we
could import into our repository. Do these exist?
Currently, I have found six reporting tools that are out there. The
tools
are Actuate, Crystal Reports, Report Workshop from Indus Consultancy
Services, Brio Technologies (SQR) VisualBRIO, Visual CyberQuery from
Cyberscience Corp., and Beacon from Brahma Software Solutions FORTify
Components. Are there any others for Forte?
If anyone is currently using one of these Reporting Tools for Forte or
any
others, could you give me any indications as to the costs, training, type
of
application using the Reporting tool, would you recommend using the
product
again, does it use wrappering or API, or is it a component based tool, and
any
other relevant information on the product?
Thanks,
Robert Brooke
Application Developer
Michelin North America (Canada) Inc. CA0/CA1
PO Box 399
New Glasgow, Nova Scotia
B2H-3E6
Phone: (902) 753-1977
Fax: (902) 396-2180
Note: We are currently developing in Forte 3.0.L.2. However, we would
like
to select a reporting tool/component within the next month. We are in the
initial phases of our next project, an application to be developed
in-house.
Probably will have two databases, one for real-time data and another one
for
archived data. Probably will need reporting functionality and capabilities
for
both real-time data and archived data.
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
The E-Mail System is to be used for business purposes only.
www.mimesweeper.com
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.comAt 09:33 AM 4/20/01, Rottier, Pascal wrote:
Forte 4GL is:
1) A language, TOOL (Compare to Java)
2) An IDE (Compare to e.g. JBuilder or FJCE)
3) A collaborative development environment, with central repository (Compare
to ????)
4) A distributed application server / object request broker (Compare to J2EE
servers and/or CORBA)Let's not forget WebEnterprise, Express, and especially Fusion.
I think, SUN is not al all interested in TOOL.If TOOL were just a language and had no market yet, you are probably
right. But, not only is TOOL the key to the Forte environment, but it has
an existing and profitable market. Sun still sells FORTRAN, after all, and
continues to put money into ADE development for all its language
products. The real kicker, though, is that I think iPlanet is very clear
that Fusion, now iIS, is a very key product for them. There may be those
who wish it were written in Java and who might lobby for doing a Java
version, but it was clear at the conference that the iPlanet management
recognize that Java just isn't up to the task at this point. It isn't as
if all the iPlanet tools are actually written in Java, after all.
They will only support them for as long as they need.Or, more likely, for as long as they make money.
Now, in response to Microsofts .NET stratagy. We have yet to see how
succesfull this will be, but I expect Microsoft to push this down the
throats of developers and companies quite succesfully.Like they did DCOM?
=========================================================================
Thomas Mercer-Hursh, Ph.D email: [email protected]
Computing Integrity, Inc. sales: 510-233-9329
550 Casey Drive - Cypress Point support: 510-233-9327
Point Richmond, CA 94801-3751 fax: 510-233-6950 -
Conversion of 1.2 JATO project (non-Forte IDE) to S1AF (JATO) 2.0
JATO Team,
First of all, thank you very much for the Studio integration. It
looks very promising in terms of development time consumption,
deployment to S1AS7, etc., etc. It is impossible to observe all
advantages for so short period of time.
The SOAF (JATO) 2.0 is installed on the top of the Sun ONE Studio 4,
update 1 (EE) with JDK 1.4 along with the Sun One Application Server
7 (W2000). Everything looks okay, at least all basic tasks listed in
the "Getting Started" manual (project/view/model creation, basic db
connection, running of a test application with the usage of the
Studio's default Tomcat container, etc.) work proper.
During the installation of S1AF module on the top of the Sun ONE
Studio 4, update 1 (EE) I've got an invitation to convert the
existing project to the new environment. As I realized the only JATO
project integrated/created with Forte IDE is applicable for this auto-
conversion (please correct me, if I am wrong. It could solve a lot of
my problems).
Since we are using JBuilder5 IDE and our JATO 1.2 project is
integrated with this IDE I manually re-created project in the Studio
with its file structure, adjusted the project web.xml file, etc. This
new project looks like a proper one (Studio recognize all methods,
fields, bean patterns, e.g.) except at least one "small" thing. All
java files (project viewBeans, Models, custom viewBeanHelpers a.k.a.
pure java) came up with the same wizard image:java class. Stutio with
the S1AF module reserves the special images (and appropriate studio
properties, of course!) for View and Model. Namely this allows to see
the following structure for a ViewBean, for example, in the Studio:
Modules
ProjectName.ModuleName
FooViewBean
JavaSource
JSPs
Non-Visual Components
View Components
On the other hand, I could add either new View or Model in my
manually converted project and add any View Component or bind the
Model fields, for example. Also, the ProjectModuleServlet has been
converted proper. I tried to convert each View/Model class inside the
Studio to its proper wizard image and failed. Addition of a View
Components (with an appropriate code fragments) via the Studio or
auto-binding of model fields is an essential part of 2.0 and should
drastically speed up the development process as it is designed.
Questions:
1. What I missed in my manual conversion of 1.2 JATO project to the
SOAF (JATO) 2.0 realm? What should I correct in my JATO 1.2
compatible classes (Views and Models) to be recognizable by Studio
wizard (JATO 2.0)?
To be more specific. Some deltas between JATO 1.2 and JATO 2.0 are as
follows (related to a ViewBean):
====++++++++++++++======
JATO 1.2 viewBean extension upon creation:
public class FooViewBeanViewBean extends ViewBeanBase
implements ViewBean
========================
JATO 2.0 (S1AF) version: viewBean extension upon creation:
public class FooViewBean extends BasicBeanBase
====++++++++++++++======
JATO 1.2 viewBean createChild(...) method for one static looks
like:
protected View createChild(String name)
if (name.equals(CHILD_STATICTEXT1))
StaticTextField child = new StaticTextField
(this,
getDefaultModel(),
CHILD_STATICTEXT1,
CHILD_STATICTEXT1,
CHILD_STATICTEXT1_RESET_VALUE,
null);
return child;
========================
JATO 2.0 (S1AF) version: viewBean createChild(...) is renamed (as
a least) to createChildReserved(...):
protected View createChildReserved(String name) {
if (name.equals(CHILD_STATICTEXT1)) {
com.iplanet.jato.view.BasicDisplayField child =
new com.iplanet.jato.view.BasicDisplayField(this,
STATICTEXT1);
return child;
====++++++++++++++======
JATO 1.2 viewBean registerChildren() method for the basic field
types looks like:
private void registerChildren() {
registerChild(CHILD_STATICTEXT1, StaticTextField.class);
registerChild(CHILD_TEXTFIELD1, TextField.class);
registerChild(CHILD_BUTTON1, Button.class);
========================
JATO 2.0 (S1AF) version: viewBean registerChildren() method:
private void registerChildren() {
registerChild(CHILD_STATICTEXT1,
com.iplanet.jato.view.BasicDisplayField.class);
registerChild(CHILD_TEXTFIELD1,
com.iplanet.jato.view.BasicDisplayField.class);
registerChild(CHILD_BUTTON1,
com.iplanet.jato.view.BasicCommandField.class);
Is it correct to say that all existing custom Views/Models
(compatible with JATO 1.2) should be converted to their JATO 2.0
variants to be visible by the Studio?
On the other hand, fast overview of 2.0 API shows that the JATO 1.2
is a sub-set of the 2.0 (BasicViewBean extends ViewBeanBase, for
example). What exactly (only deprecated methods?) should be adjusted
in the project code (1.2), if necessary, to be visible by Studio as a
View or Model component?
2. Where it is possible to find the list of deprecated methods (from
JATO 1.2 to JATO 2.0 versions). It is difficult sometimes to compare
two versions of API docs (1.2 and 2.0) or compare logs between
versions. Also, JATO 2.0 is significantly larger than 1.2 version. If
the later obviously inherits the ND conversion stage (via the
previous versions), the former obviously has additions incoming from
the integration with the Studio (a.k.a. Forte 4.0).
3. What is the current/future Sun/JATO Team policy with regards to
JATO source code access (version 2.0, at least)? The reason of this
question is as follows: in order to display dates formatted on the
screens we adjusted a couple of JATO 1.2 core classes, for example.
The only minimal, absolutely necessary changes in JATO 1.2 was made,
but anyway...
Sorry for so long multiple question. As Todd wrote in his
announcement mail: "We think you will be very pleased with the new
product...". This is exciting moment, I believe, for JATO Team as
well as for any team involved into the conversion of the full size
application/product from ND to J2EE realm with the JATO as
an application framework (1.0, 1.1.x, 1.2.X, and 2.0 finally). The
last step is left in this spiral process to enjoy the ND_Studio
attractive features in the open source environment.
Thank you very much in advance.
Vladimir IvanovI'll get some file templates ASAP and provide them to the group.
As for source code, I'm not sure what the policy is. JATO 1.2 is very
close to what JATO 2.0 is, so that should suffice for now.
The community will be informed when we know more about source availibility.
craig
vivanov4114 wrote:
Craig,
Thank you for the answer. To be honest with you I tried to do exactly
the same: I created the small test project and made an attempt to
adjust the existing *.xml files to the new ones. I got some results,
otherwise I couldn't even see my original 1.2 project in the Studio.
Since I am a newcomer in the Studio, I definitely missed something in
my adjustments. I'll try to observe my changes with the fresh head.
On the other hand, I am afraid that my samples are very pure. If you
could post or send me examples of jatoapp.xml and web.xml files (say
for any of you test project) or excerptions from them with the
appropriate patterns (ViewBean and Model peers, at least), I would be
very appreciated. My mail is: vivanov@b...
In the worst-case scenario I see the workaround: to re-create the
project for one of our releases with the Forte 4.1 IDE and auto-
convert it into the JATO 2.0/Studio world using the Studio
facilities. We must get the current project fully
integrated/converted with/to the Studio (at certain point) because,
first, we expect massive coding with the GUI components involved soon
and, secondly, we have around thousand classes related to JATO only
(and a lot of extras).
Coming back to the question #3 from this post. Now we have full
access to the version 1.2, not only to the JATO 1.2 jar file(I
explained some reasons below). Would we expect the same Sun/JATO Team
policy with JATO 2.0?
Thank you again,
Vlad
--- In SunONE-JATO@y..., "cvconover" <craig.conover@s...> wrote:
It doesn't appear that anyone has responded to this so I am goingto
give you the short answer:
The reason you don't see your ViewBeans and Models showing up with
there "wizard created" icons is because of just that. They weren't
created via the wizards. The wizards create xml formatted filesthat
contain metadata of how/what to generate for the ViewBeans and
Models.
ViewBeans will have a .viewbean fiel, Models will have a .sqlmodel
file (for SQL Models), etc. The content of these files describesthe
code that needs to be generated in the corresponding Java classfile.
So LoginViewBean.java will have a peer LoginViewBean.viewbean file.
The code that is generated is place in protected code blocks thatcan
not be modified in the Studio and should not be modified outsidethe
Studio because the code will likely be regenerated and custom mods
inside the protected blocks will be lost.
Now you can make a JATO 1.2 app appear in the Studio just like aJATO
2.0 app by adding a jatoapp.xml file with the proper content and
adjusting your web.xml properly, but it's much more work to getyour
v1.2 ViewBeans and Models to show up like wizard created versions.
Furthermore, even more work to get the display fields to show up
visually.
The good news is that v1.2 ViewBeans will work with newly wizard
created ViewBeans. And if you do go through the trouble of making
your ViewBeans Studio visible like your wizard created ViewBeans,
adding new display fields visually will work along side yourmanually
created fields.
Try creating a new JATO app using the Studio wizards and then go to
the Filesystems tab and look for the jatoapp.xml file and theweb.xml
file.
I am looking for an email that I have that explains how to do a
partial, manual upgrade.
Also, you will get rid of your JATO 1.2 jar and replace with theJATO
2.0 jar in your lib dir.
Hope this will suffice for now.
craig
--- In SunONE-JATO@y..., "vivanov4114" <vivanov@b...> wrote:
JATO Team,
First of all, thank you very much for the Studio integration. It
looks very promising in terms of development time consumption,
deployment to S1AS7, etc., etc. It is impossible to observe all
advantages for so short period of time.
The SOAF (JATO) 2.0 is installed on the top of the Sun ONE Studio4,
update 1 (EE) with JDK 1.4 along with the Sun One ApplicationServer
7 (W2000). Everything looks okay, at least all basic tasks listedin
the "Getting Started" manual (project/view/model creation, basic
db
connection, running of a test application with the usage of the
Studio's default Tomcat container, etc.) work proper.
During the installation of S1AF module on the top of the Sun ONE
Studio 4, update 1 (EE) I've got an invitation to convert the
existing project to the new environment. As I realized the onlyJATO
project integrated/created with Forte IDE is applicable for thisauto-
conversion (please correct me, if I am wrong. It could solve a
lot
of
my problems).
Since we are using JBuilder5 IDE and our JATO 1.2 project is
integrated with this IDE I manually re-created project in theStudio
with its file structure, adjusted the project web.xml file, etc.This
new project looks like a proper one (Studio recognize all
methods,
fields, bean patterns, e.g.) except at least one "small" thing.All
java files (project viewBeans, Models, custom viewBeanHelpersa.k.a.
pure java) came up with the same wizard image:java class. Stutiowith
the S1AF module reserves the special images (and appropriate
studio
properties, of course!) for View and Model. Namely this allows tosee
the following structure for a ViewBean, for example, in the
Studio:
Modules
ProjectName.ModuleName
FooViewBean
JavaSource
JSPs
Non-Visual Components
View Components
On the other hand, I could add either new View or Model in my
manually converted project and add any View Component or bind the
Model fields, for example. Also, the ProjectModuleServlet hasbeen
converted proper. I tried to convert each View/Model class insidethe
Studio to its proper wizard image and failed. Addition of a View
Components (with an appropriate code fragments) via the Studio or
auto-binding of model fields is an essential part of 2.0 and
should
drastically speed up the development process as it is designed.
Questions:
1. What I missed in my manual conversion of 1.2 JATO project tothe
SOAF (JATO) 2.0 realm? What should I correct in my JATO 1.2
compatible classes (Views and Models) to be recognizable byStudio
wizard (JATO 2.0)?
To be more specific. Some deltas between JATO 1.2 and JATO 2.0are
as
follows (related to a ViewBean):
====++++++++++++++======
JATO 1.2 viewBean extension upon creation:
public class FooViewBeanViewBean extends ViewBeanBase
implements ViewBean
========================
JATO 2.0 (S1AF) version: viewBean extension upon creation:
public class FooViewBean extends BasicBeanBase
====++++++++++++++======
JATO 1.2 viewBean createChild(...) method for one static looks
like:
protected View createChild(String name)
if (name.equals(CHILD_STATICTEXT1))
StaticTextField child = new StaticTextField
(this,
getDefaultModel(),
CHILD_STATICTEXT1,
CHILD_STATICTEXT1,
CHILD_STATICTEXT1_RESET_VALUE,
null);
return child;
========================
JATO 2.0 (S1AF) version: viewBean createChild(...) is renamed(as
a least) to createChildReserved(...):
protected View createChildReserved(String name) {
if (name.equals(CHILD_STATICTEXT1)) {
com.iplanet.jato.view.BasicDisplayField child =
new com.iplanet.jato.view.BasicDisplayField(this,
STATICTEXT1);
return child;
====++++++++++++++======
JATO 1.2 viewBean registerChildren() method for the basic field
types looks like:
private void registerChildren() {
registerChild(CHILD_STATICTEXT1,
StaticTextField.class);
registerChild(CHILD_TEXTFIELD1, TextField.class);
registerChild(CHILD_BUTTON1, Button.class);
========================
JATO 2.0 (S1AF) version: viewBean registerChildren() method:
private void registerChildren() {
registerChild(CHILD_STATICTEXT1,
com.iplanet.jato.view.BasicDisplayField.class);
registerChild(CHILD_TEXTFIELD1,
com.iplanet.jato.view.BasicDisplayField.class);
registerChild(CHILD_BUTTON1,
com.iplanet.jato.view.BasicCommandField.class);
Is it correct to say that all existing custom Views/Models
(compatible with JATO 1.2) should be converted to their JATO 2.0
variants to be visible by the Studio?
On the other hand, fast overview of 2.0 API shows that the JATO1.2
is a sub-set of the 2.0 (BasicViewBean extends ViewBeanBase, for
example). What exactly (only deprecated methods?) should beadjusted
in the project code (1.2), if necessary, to be visible by Studio
as
a
View or Model component?
2. Where it is possible to find the list of deprecated methods(from
JATO 1.2 to JATO 2.0 versions). It is difficult sometimes tocompare
two versions of API docs (1.2 and 2.0) or compare logs between
versions. Also, JATO 2.0 is significantly larger than 1.2
version.
If
the later obviously inherits the ND conversion stage (via the
previous versions), the former obviously has additions incomingfrom
the integration with the Studio (a.k.a. Forte 4.0).
3. What is the current/future Sun/JATO Team policy with regards
to
JATO source code access (version 2.0, at least)? The reason ofthis
question is as follows: in order to display dates formatted onthe
screens we adjusted a couple of JATO 1.2 core classes, forexample.
The only minimal, absolutely necessary changes in JATO 1.2 wasmade,
but anyway...
Sorry for so long multiple question. As Todd wrote in his
announcement mail: "We think you will be very pleased with the
new
product...". This is exciting moment, I believe, for JATO Team as
well as for any team involved into the conversion of the fullsize
application/product from ND to J2EE realm with the JATO as
an application framework (1.0, 1.1.x, 1.2.X, and 2.0 finally).The
last step is left in this spiral process to enjoy the ND_Studio
attractive features in the open source environment.
Thank you very much in advance.
Vladimir IvanovTo download the latest version of JATO, please visit:
http://www.sun.com/software/download/developer/5102.html
For more information about JATO, please visit:
http://developer.iplanet.com/tech/appserver/framework/index.jsp
[Non-text portions of this message have been removed] -
I want to find the digital audio output on my Pavilion vd6853ea notebook
I have spent far too long trying to find where this output is located.
I have a very good Hifi and at the moment am using a USB cable to connect to my DAC.
It looks like there is a realtec digital output somewhere on the notebook as it show up when I go into the playback devices and it tests ok visually.
The 3.5 jack plug is just analog and not a hybrid spdif.
Where is it????????
Please help as I am getting really fed up now!
This question was solved.
View Solution.HI,
macapaca666 wrote:
Thank you so much for the fast reply.
I thought that may have to be the case.
Can I please ask you a few other questions?
If I want to get a digital audio output not using a HDMI (My DAC doesn't have this input), can I get a good result with something like a Musical Fidelity V link USB to S/Pdif converter or a M2Tech Hiface digital audio interface? Sorry, I cannot make a recommendation on either of those products as I am not familiar with them.
Is it possible to change the sound card with an optical or coaxial output? Your notebook's sound is an integrated solution. It is a chip soldered (integrated) onto the system board. It can't be updated.
Thanks again for the kind help!
John
Best regards,
erico
****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
2015 Microsoft MVP - Windows Experience Consumer -
RE : Who would benefit from Forte?
RE : Jerry Fatcheric's message about "Who would benefit from Forte?"
With regards the point mentioned in the attached message from Jerry
Fatcheric below, I would like to illustrate my point. I implemented in both
Visual Basic and Delphi, the example that is mentioned in the attached
message, about a browser application, having the capability to browse
thousands of records with the inital screenful needing to come ASAP. It took
me less than 2 minutes to implement this in VB (I timed it). Just threw a
"remote data" control and a "DBGrid" control on a form, set a few properties
and wrote a "select *" sql specifying that only 30 records be returned at a
time. For a table with 4K records, the first 30 came in and got displayed in
less than 2 seconds. In Delphi, the response was even better and whole 4K of
record could be retrieved in less than 4 second. (Yes less than 4 seconds
for retrieving 4000 records from a DB2/NT database running on a remote
machine). Even I could not believe the performance of Delphi which I haven't
used that much. These tools are THE fastest way to get the data from a
database server to a windows client. These will perform any day better than
FORTE. One of the problem that I came across FORTE in one of situations like
this was data movement across nodes is very costly. In one of our
applications, since we stored the data as objects, in a similar situation as
you have mentioned, the performance of moving a lot of data form the server
to the client was not very good and in consulation with FORTE technical
support we had to convert the data in objects to scalar (delimited string),
move across node, and convert the data back to object at a client.
Performance increase - 40 secs. vs 120 secs. earlier.
About my background. I have worked about 8 years in application development
and for the past 4 years have been working in a client server environment.
Being a consultant, I have used many tools, including FORTE for one year, to
provide my clients with the most bang for their buck, which to me is the
topmost priority as a Consultant. I do not decide for my clients what
technology they should use but sure evaluate the various options they have
and recommend more than one solutions, listing the advantages and
disadvantages.
Currently working on coming up with a solution for a client with a customer
service application need with around 50 users now, scaling up to 100 users
in the future. The best solution that I could come up with was a logical
3-tier with the presentation and the business layer running on NT
workstation (client) and the database on NT server (server). With all the
processing on a powerful and healthy (not "fat") client the system, I feel
can scale very well. For a 500 user system, you literally have 500
application server (physically on the client machine) being served by one
data server. To the data server, having a physical middle tier between the
client and the data server, I feel would not help, at least in our
situation. Almost everything that the middle tier could do to reduce the
load on the data server can be handled by the "business layer" running on
the client machine. It does mean that each user connects to the database
directly so in a case of 500 user, there are 500 connections to the database
but lately with the sophisticated DBMS, this is no longer an issue. The DBMS
can manage this many user very economically (read the benchmark about SQL
server with 5000, yes 5k user at "www.microsoft.com/sql") and almost as well
as a middle tier. It is fault tolerant - nothing can bring down the system
except a client failure, the data server failure or a network failure, the
same failure points as a N-Tier solution unless you are replicating or
duplicating the database. In our solution our application is as scaleable as
the database is, and the databases available today are very scaleable if you
look at the current database technology offerings.
As you may have guessed the abovementioned solution is cheaper with a very
fast "time to market" than a forte solution (we started this about 6 months
back and are in production for the past 1 month). This may not have all the
features that FORTE offers, but for our purposes and I feel in similar
applications, what we got was what we needed. By no means, this is going to
meet all information tecnology needs for everyone and in many situations I
believe FORTE would be well suited than any other tool.
I still use FORTE can would continue to do so for some of the solutions that
we develop, but I do not think that one shoud be using FORTE for "any
development that is bigger than a breadbox" as Mr. Fatcheric suggests in the
attached message, simply because if I do that, than I think that in some
cases I would be selling the user a tank when the user just needs a rifle.
I consider giving my clients the most value for their money in getting this
solution developed. I would suggest my clients FORTE when I think they needs
them but would definitely suggest another solution if I think that they can
get their solution developed and get more value for their money using some
other tool. Towards this end I would like to find out what kind of solutions
people are developing and what kind of performance they are getting
specially related to Windows platform.
Any information about the benefits (actual benefits) you are getting from
FORTE would be highly appreciated which would let a lot of us decide when to
use FORTE and when not to use FORTE to meet ours and our clients'
everchanging information technology needs.
- Ari Singh
[email protected]
Ari Singh wrote a provocative piece questioning the benefits of Forte
in "Windows only", non-large scale applications. Rather than get into
a large philosopical discussion, I would like to illustrate my point
with an example taken from a current Forte project.
First, my background: 10+ years in Client server applications. Worked
for several years at Oracle and have experience with Sybase. Worked
extensively with a 2 tiered CS product (Uniface) and write C and C++.
NOT a Windows expert.
In our current application, the requirement is to allow the user to
browse literally thousands of records on the Windows Client. There will
never be lots of users doing this, but the ones that do must have
reasonable performance. Our initial tests indicated that if we simply
had the server pump the data to the client, we would have significant
performance problems and face memory limitations on the PC. SO we
utilized Forte's N-tiered capabilities. When the user starts a query
(using dynamic sql with user controlled WHERE and ORDER BY), we start
an asynchronous retrieval on the server with data is cached in an
anchored object on the server. When the query has found the first
THIRTY (30) records (2 screens worth), it posts an event to the client
and the client request the first thirty. The retrieval process continues
independently while the user can browse data on the client. Not until
the user scrolls down far enough does the client again request more
data. If the user quits from the screen or starts a new query, the
first one is cancelled. Otherwise, the query runs to completion on the
server.
This approach gives us 3-5 second response time regardless of the size
of the query result set. It minimizes the data on the client (moving
us toward a thin client). The kicker is that with the help of Martha
Lyman from Forte, we developed this technique in about 4 hours! Add
to this all the standard inheritance, OO stuff, partitioning,
customized monitoring, etc, etc, and IT IS MY OPINION that Forte
is a GOOD tool for any development that is bigger than a breadbox
and worth the $$$. And that's the way it is.... SO there...
Jerry Fatcheric
Relational Options, Inc.
Florham Park, New Jersey
201-301-0200
201-301-00377 (FAX)
[email protected]RE : Jerry Fatcheric's message about "Who would benefit from Forte?"
With regards the point mentioned in the attached message from Jerry
Fatcheric below, I would like to illustrate my point. I implemented in both
Visual Basic and Delphi, the example that is mentioned in the attached
message, about a browser application, having the capability to browse
thousands of records with the inital screenful needing to come ASAP. It took
me less than 2 minutes to implement this in VB (I timed it). Just threw a
"remote data" control and a "DBGrid" control on a form, set a few properties
and wrote a "select *" sql specifying that only 30 records be returned at a
time. For a table with 4K records, the first 30 came in and got displayed in
less than 2 seconds. In Delphi, the response was even better and whole 4K of
record could be retrieved in less than 4 second. (Yes less than 4 seconds
for retrieving 4000 records from a DB2/NT database running on a remote
machine). Even I could not believe the performance of Delphi which I haven't
used that much. These tools are THE fastest way to get the data from a
database server to a windows client. These will perform any day better than
FORTE. One of the problem that I came across FORTE in one of situations like
this was data movement across nodes is very costly. In one of our
applications, since we stored the data as objects, in a similar situation as
you have mentioned, the performance of moving a lot of data form the server
to the client was not very good and in consulation with FORTE technical
support we had to convert the data in objects to scalar (delimited string),
move across node, and convert the data back to object at a client.
Performance increase - 40 secs. vs 120 secs. earlier.
About my background. I have worked about 8 years in application development
and for the past 4 years have been working in a client server environment.
Being a consultant, I have used many tools, including FORTE for one year, to
provide my clients with the most bang for their buck, which to me is the
topmost priority as a Consultant. I do not decide for my clients what
technology they should use but sure evaluate the various options they have
and recommend more than one solutions, listing the advantages and
disadvantages.
Currently working on coming up with a solution for a client with a customer
service application need with around 50 users now, scaling up to 100 users
in the future. The best solution that I could come up with was a logical
3-tier with the presentation and the business layer running on NT
workstation (client) and the database on NT server (server). With all the
processing on a powerful and healthy (not "fat") client the system, I feel
can scale very well. For a 500 user system, you literally have 500
application server (physically on the client machine) being served by one
data server. To the data server, having a physical middle tier between the
client and the data server, I feel would not help, at least in our
situation. Almost everything that the middle tier could do to reduce the
load on the data server can be handled by the "business layer" running on
the client machine. It does mean that each user connects to the database
directly so in a case of 500 user, there are 500 connections to the database
but lately with the sophisticated DBMS, this is no longer an issue. The DBMS
can manage this many user very economically (read the benchmark about SQL
server with 5000, yes 5k user at "www.microsoft.com/sql") and almost as well
as a middle tier. It is fault tolerant - nothing can bring down the system
except a client failure, the data server failure or a network failure, the
same failure points as a N-Tier solution unless you are replicating or
duplicating the database. In our solution our application is as scaleable as
the database is, and the databases available today are very scaleable if you
look at the current database technology offerings.
As you may have guessed the abovementioned solution is cheaper with a very
fast "time to market" than a forte solution (we started this about 6 months
back and are in production for the past 1 month). This may not have all the
features that FORTE offers, but for our purposes and I feel in similar
applications, what we got was what we needed. By no means, this is going to
meet all information tecnology needs for everyone and in many situations I
believe FORTE would be well suited than any other tool.
I still use FORTE can would continue to do so for some of the solutions that
we develop, but I do not think that one shoud be using FORTE for "any
development that is bigger than a breadbox" as Mr. Fatcheric suggests in the
attached message, simply because if I do that, than I think that in some
cases I would be selling the user a tank when the user just needs a rifle.
I consider giving my clients the most value for their money in getting this
solution developed. I would suggest my clients FORTE when I think they needs
them but would definitely suggest another solution if I think that they can
get their solution developed and get more value for their money using some
other tool. Towards this end I would like to find out what kind of solutions
people are developing and what kind of performance they are getting
specially related to Windows platform.
Any information about the benefits (actual benefits) you are getting from
FORTE would be highly appreciated which would let a lot of us decide when to
use FORTE and when not to use FORTE to meet ours and our clients'
everchanging information technology needs.
- Ari Singh
[email protected]
Ari Singh wrote a provocative piece questioning the benefits of Forte
in "Windows only", non-large scale applications. Rather than get into
a large philosopical discussion, I would like to illustrate my point
with an example taken from a current Forte project.
First, my background: 10+ years in Client server applications. Worked
for several years at Oracle and have experience with Sybase. Worked
extensively with a 2 tiered CS product (Uniface) and write C and C++.
NOT a Windows expert.
In our current application, the requirement is to allow the user to
browse literally thousands of records on the Windows Client. There will
never be lots of users doing this, but the ones that do must have
reasonable performance. Our initial tests indicated that if we simply
had the server pump the data to the client, we would have significant
performance problems and face memory limitations on the PC. SO we
utilized Forte's N-tiered capabilities. When the user starts a query
(using dynamic sql with user controlled WHERE and ORDER BY), we start
an asynchronous retrieval on the server with data is cached in an
anchored object on the server. When the query has found the first
THIRTY (30) records (2 screens worth), it posts an event to the client
and the client request the first thirty. The retrieval process continues
independently while the user can browse data on the client. Not until
the user scrolls down far enough does the client again request more
data. If the user quits from the screen or starts a new query, the
first one is cancelled. Otherwise, the query runs to completion on the
server.
This approach gives us 3-5 second response time regardless of the size
of the query result set. It minimizes the data on the client (moving
us toward a thin client). The kicker is that with the help of Martha
Lyman from Forte, we developed this technique in about 4 hours! Add
to this all the standard inheritance, OO stuff, partitioning,
customized monitoring, etc, etc, and IT IS MY OPINION that Forte
is a GOOD tool for any development that is bigger than a breadbox
and worth the $$$. And that's the way it is.... SO there...
Jerry Fatcheric
Relational Options, Inc.
Florham Park, New Jersey
201-301-0200
201-301-00377 (FAX)
[email protected] -
I have a problem getting Forte to talk to another application called
InTouch by Wonderware via DDE. InTouch is a SCADA (Supervisory Control
And Data Acquisition) package. InTouch uses DDE as its primary form of
communication with other software. Right now I have Forte talking to
InTouch through the use of a Visual Basic interface using DDE. Here is
the flow:
Talking to InTouch from Forte using DDE
FORTE ---> VB INTERFACE ---> INTOUCH
Talking to Forte from InTouch using DDE
INTOUCH ---> VB INTERFACE ---> FORTE
My goal is to eliminate this VB interface and have Forte talk directly
to InTouch using DDE without the use of any intermediate code. Does
anyone have any experience with DDE between these two applications?
Gary Giger
Raytheon Systems
300 Science Park Road
State College, PA. 16804
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>In my Forte 3.0 installation on Windows XP, the file is in:
\forte directory\modules\ext4j\AbsoluteLayout.jar -
Code generation using Visual cafe
I'm using visual cafe for GUI development. It includes it's own libraries though the equivalent ones are available in JDK.
For example: to place a component in GRid Bag layout it generates code with symantec's constructor
new com.symantec.itools.awt.GridBagConstraintsD(,...) instead of java.awt.GridBagContraints(,...) constructor.
Is there any way to tell Visualcafe to use jdk instead of it's own libraries when applicable? let me know if anyone knows how to do this?
thanks,
sampathThe simple answer is NO, or its not simple nor reliable.
The unsolicited answer is; stop using that garbage. I used it for 4 years. Symantec completely dropped the ball. I use the free Jbuilder version. It uses ALL official classes and does NOT force you into code conventions, nor does it complain about many things. VC has its own private section in the code where you can not manually edit it. headache. VC does geenrate much less anonymous classes, but all in all, try JBuilder. Maybe even Forte as I hear good things about that too.
When I converted to JBuilder, I simply changed the symanted gridbag class into the sun gridbag class. In general the symantec class is EXACTLY the same, but symantec was ahead of its time, and needed to make its own classes in order to have the GUI editing since sun didnt have completel beans available at the time. But sun has not privided these beans for years, and still symantec has not adapted. I think they are arrogant now and hope this keeps you forced into their IDE since changing seems hard(though "replace" works just fine in these situations)...
Maybe you are looking for
-
Webdynpro abap/Java? Best Option
Hi All, I'm still running with a doubt after having a glance at all the Weblog especially oliver and others in SDN community.Can any one drive me for the best option for a company despite of the consultants skill set,Architecture and other
-
Excise Details are not maintanied for Vendor: GRN error
Dear All, We have upgraded our Ecc 6.0 system to latest application SAPKH60016 ( SAP_APPL ). WHile testing the system, for import GR's we are getting error saying Excise Details are not maintanied for Vendor. J1ID is also maintained & previously we
-
Problem while loading the log4j.xml in to the classpath
Hi, I am working with a web application using tomcat5.0.I am using log4j for logging the information in my application.I am keeping log4j.xml out side of the application(Generally we will keep under WEB-INF/classes ).Now I want to load the log4j.xml
-
Reconnect policy with MySQL failing because of autoCommit error
This related to this issue, but I didn't see any responses to it: Reconnecting a dead connection from a UnitOfWork commit - Autocommit error I'm testing with MySQL 4.1 and I have a reconnect policy that does the following (I believe this is a pretty
-
Sudden slowness and loss of wireless connection to PC
I've used my Dell laptop on my Airport Extreme wireless network without problem for two years. Yesterday, after installing an HP 8500 printer on the network, my PC became extraordinarily slow on the network, and kept losing its connection. I haven't